Fix compile issues

This commit is contained in:
Spottedleaf 2024-10-25 11:46:53 -07:00
commit d83a56b430
2 changed files with 21 additions and 2 deletions

View file

@ -10372,7 +10372,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ }
+
+ // Don't really have a choice but to place this hook here
+ PlatformHooks.get().onChunkHolderTicketChange(this.world, this, oldLevel, newLevel);
+ PlatformHooks.get().onChunkHolderTicketChange(this.world, this.vanillaChunkHolder, oldLevel, newLevel);
+ }
+
+ static final int NEIGHBOUR_RADIUS = 2;
@ -14401,7 +14401,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ try {
+ // run converters
+ final CompoundTag converted = this.world.getChunkSource().chunkMap.upgradeChunkTag(data);
+ final CompoundTag converted = this.world.getChunkSource().chunkMap.upgradeChunkTag(data, new ChunkPos(this.chunkX, this.chunkZ)); // Paper
+
+ // unpack the data
+ final SerializableChunkData chunkData = SerializableChunkData.parse(