Fix 1.13.2 support

This commit is contained in:
Lukas Rieger (Blue) 2023-06-16 20:23:28 +02:00
parent 969f7a78f3
commit 97f346534b
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -55,7 +55,9 @@ public ChunkAnvil113(MCAWorld world, CompoundTag chunkTag) {
CompoundTag levelData = chunkTag.getCompoundTag("Level");
String status = levelData.getString("Status");
this.isGenerated = status.equals("full");
this.isGenerated = status.equals("full") ||
status.equals("fullchunk") ||
status.equals("postprocessed");
this.hasLight = isGenerated;
this.inhabitedTime = levelData.getLong("InhabitedTime");