SPIGOT-4405: Chunk generation problem

This commit is contained in:
md_5 2018-10-02 23:00:16 +10:00
parent c8f68670f5
commit 68588dac4f

View File

@ -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 @@
}
}