From 1d49e5a4b13776f76a7294011421b9db4369c015 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Thu, 10 Feb 2011 13:27:53 +0000 Subject: Fixed chunk unloading --- src/main/java/net/minecraft/server/ChunkProviderServer.java | 2 +- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/net/minecraft/server/ChunkProviderServer.java b/src/main/java/net/minecraft/server/ChunkProviderServer.java index e3c9dee6..376ff355 100644 --- a/src/main/java/net/minecraft/server/ChunkProviderServer.java +++ b/src/main/java/net/minecraft/server/ChunkProviderServer.java @@ -206,7 +206,7 @@ public class ChunkProviderServer implements IChunkProvider { chunk.e(); this.b(chunk); this.a(chunk); - // this.a.remove(chunkcoordinates); // CraftBukkit + this.a.remove(chunkcoordinates); this.e.remove(chunkcoordinates); this.f.remove(chunk); } diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index ea509d9f..168d85e5 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -123,6 +123,7 @@ public class CraftWorld implements World { provider.a(chunk); } + provider.a.remove(x, z); provider.a.remove(x, z); provider.e.remove(x, z); provider.f.remove(chunk); -- cgit v1.2.3