Remove legacy Chunk cache. Fixes BUKKIT-1400

This commit is contained in:
feildmaster
2012-04-24 13:30:55 -05:00
parent 119b5d18a5
commit 0220c1ff74
3 changed files with 12 additions and 29 deletions

View File

@@ -241,8 +241,6 @@ public class ChunkProviderServer implements IChunkProvider {
ChunkUnloadEvent event = new ChunkUnloadEvent(chunk.bukkitChunk);
server.getPluginManager().callEvent(event);
if (!event.isCancelled()) {
this.world.getWorld().preserveChunk((CraftChunk) chunk.bukkitChunk);
chunk.removeEntities();
this.saveChunk(chunk);
this.saveChunkNOP(chunk);