mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Remove legacy Chunk cache. Fixes BUKKIT-1400
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user