PaperMC/nms-patches/WorldUpgrader.patch

12 lines
762 B
Diff
Raw Normal View History

2019-04-23 04:00:00 +02:00
--- a/net/minecraft/server/WorldUpgrader.java
+++ b/net/minecraft/server/WorldUpgrader.java
2020-06-25 02:00:00 +02:00
@@ -122,7 +122,7 @@
2019-04-23 04:00:00 +02:00
int j = IChunkLoader.a(nbttagcompound);
2020-06-25 02:00:00 +02:00
NBTTagCompound nbttagcompound1 = ichunkloader.getChunkData(resourcekey2, () -> {
2019-04-23 04:00:00 +02:00
return this.q;
- }, nbttagcompound);
+ }, nbttagcompound, chunkcoordintpair, null); // CraftBukkit
2019-12-10 23:00:00 +01:00
NBTTagCompound nbttagcompound2 = nbttagcompound1.getCompound("Level");
ChunkCoordIntPair chunkcoordintpair1 = new ChunkCoordIntPair(nbttagcompound2.getInt("xPos"), nbttagcompound2.getInt("zPos"));
2019-04-23 04:00:00 +02:00