diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-10 13:27:53 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-10 13:27:53 +0000 |
commit | 1d49e5a4b13776f76a7294011421b9db4369c015 (patch) | |
tree | 8338a3c440f940ad536ef8205d150df3b6e29f80 | |
parent | a52f5ef52057b56024e294194a558f7103eabc15 (diff) | |
download | craftbukkit-1d49e5a4b13776f76a7294011421b9db4369c015.tar craftbukkit-1d49e5a4b13776f76a7294011421b9db4369c015.tar.gz craftbukkit-1d49e5a4b13776f76a7294011421b9db4369c015.tar.lz craftbukkit-1d49e5a4b13776f76a7294011421b9db4369c015.tar.xz craftbukkit-1d49e5a4b13776f76a7294011421b9db4369c015.zip |
Fixed chunk unloading
-rw-r--r-- | src/main/java/net/minecraft/server/ChunkProviderServer.java | 2 | ||||
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 1 |
2 files changed, 2 insertions, 1 deletions
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 @@ -124,6 +124,7 @@ public class CraftWorld implements World { } provider.a.remove(x, z); + provider.a.remove(x, z); provider.e.remove(x, z); provider.f.remove(chunk); |