13
0
geforkt von Mirrors/Paper

SPIGOT-716: Fix regenerating chunks

By: Thinkofdeath <thinkofdeath@spigotmc.org>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2015-03-17 21:17:56 +00:00
Ursprung 4af7c7ec4b
Commit 3340f8d976

Datei anzeigen

@ -261,6 +261,10 @@ public class CraftWorld implements World {
private void chunkLoadPostProcess(net.minecraft.server.Chunk chunk, int cx, int cz) {
if (chunk != null) {
// moved from Chunk.<init>
for (int k = 0; k < chunk.entitySlices.length; ++k) {
chunk.entitySlices[k] = new EntitySlice(net.minecraft.server.Entity.class);
}
world.chunkProviderServer.chunks.put(LongHash.toLong(cx, cz), chunk);
chunk.addEntities();