summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-10-02 23:00:16 +1000
committermd_5 <git@md-5.net>2018-10-02 23:00:16 +1000
commit68588dac4f57ffda02a84a9c9ed5803322fb5e71 (patch)
tree45120e544638e086ad6f04944c35cfd04ac29f75
parentc8f68670f5d5b7d2733fbf2e50c8825c5138ba44 (diff)
downloadcraftbukkit-68588dac4f57ffda02a84a9c9ed5803322fb5e71.tar
craftbukkit-68588dac4f57ffda02a84a9c9ed5803322fb5e71.tar.gz
craftbukkit-68588dac4f57ffda02a84a9c9ed5803322fb5e71.tar.lz
craftbukkit-68588dac4f57ffda02a84a9c9ed5803322fb5e71.tar.xz
craftbukkit-68588dac4f57ffda02a84a9c9ed5803322fb5e71.zip
SPIGOT-4405: Chunk generation problem
-rw-r--r--nms-patches/Chunk.patch7
1 files changed, 2 insertions, 5 deletions
diff --git a/nms-patches/Chunk.patch b/nms-patches/Chunk.patch
index d24540d6..d8a2d75d 100644
--- a/nms-patches/Chunk.patch
+++ b/nms-patches/Chunk.patch
@@ -278,7 +278,7 @@
TileEntity tileentity;
if ("DUMMY".equals(nbttagcompound.getString("id"))) {
-@@ -1101,15 +1221,43 @@
+@@ -1101,6 +1221,8 @@
} else {
Chunk.d.warn("Tried to load a block entity for block {} but failed at location {}", this.getType(blockposition1), blockposition1);
}
@@ -287,10 +287,7 @@
}
}
-- this.h.clear();
-+ com.google.common.base.Preconditions.checkState(this.h.isEmpty(), "Pending tiles not empty"); // CraftBukkit
- this.a(ChunkStatus.POSTPROCESSED);
- this.m.a(this);
+@@ -1110,6 +1232,32 @@
}
}