mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +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
@ -191,8 +191,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ }
|
+ }
|
||||||
+ CompoundTag oversizedLevel = oversizedData.getCompound("Level");
|
+ CompoundTag oversizedLevel = oversizedData.getCompound("Level");
|
||||||
+
|
+
|
||||||
+ mergeChunkList(chunk, oversizedLevel, "entities", "Entities");
|
+ mergeChunkList(chunk.getCompound("Level"), oversizedLevel, "Entities", "Entities");
|
||||||
+ mergeChunkList(chunk, oversizedLevel, "block_entities", "TileEntities");
|
+ mergeChunkList(chunk.getCompound("Level"), oversizedLevel, "TileEntities", "TileEntities");
|
||||||
+
|
+
|
||||||
+ return chunk;
|
+ return chunk;
|
||||||
+ } catch (Throwable throwable) {
|
+ } catch (Throwable throwable) {
|
||||||
|
Loading…
Reference in New Issue
Block a user