mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Remove legacy Chunk cache. Fixes BUKKIT-1400
This commit is contained in:
1 parent
119b5d18a5
commit
0220c1ff74
3 files changed
+12
-29
No files matched your search
@@ -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