SPIGOT-729: Revert the entity slice move

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
CraftBukkit/Spigot
2015-03-22 19:01:30 +00:00
parent e1387f5ef4
commit c52ea50ad9
4 changed files with 24 additions and 45 deletions

View File

@@ -261,10 +261,6 @@ 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();