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
1 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,9 @@ public class ChunkAnvil113 extends MCAChunk {
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");