mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Fix incorrect old oversized chunk data merging
All legacy oversized chunks were created before the new chunk format, so don't try to merge into the new format.
This commit is contained in:
parent
246a5a3002
commit
b8de21cf48
1 changed files with 2 additions and 2 deletions
|
@ -191,8 +191,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ }
|
||||
+ CompoundTag oversizedLevel = oversizedData.getCompound("Level");
|
||||
+
|
||||
+ mergeChunkList(chunk, oversizedLevel, "entities", "Entities");
|
||||
+ mergeChunkList(chunk, oversizedLevel, "block_entities", "TileEntities");
|
||||
+ mergeChunkList(chunk.getCompound("Level"), oversizedLevel, "Entities", "Entities");
|
||||
+ mergeChunkList(chunk.getCompound("Level"), oversizedLevel, "TileEntities", "TileEntities");
|
||||
+
|
||||
+ return chunk;
|
||||
+ } catch (Throwable throwable) {
|
||||
|
|
Loading…
Reference in a new issue