diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-20 00:16:57 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-20 00:17:44 +0000 |
commit | 46e1b54a7457059fa3b9b421d6076fd554032314 (patch) | |
tree | 5aecaa94bf76c7df48bca55a96881078b97340e3 /src/main/java/net/minecraft | |
parent | 0284663aee293e40f386bb712e5113fde15a6462 (diff) | |
download | craftbukkit-46e1b54a7457059fa3b9b421d6076fd554032314.tar craftbukkit-46e1b54a7457059fa3b9b421d6076fd554032314.tar.gz craftbukkit-46e1b54a7457059fa3b9b421d6076fd554032314.tar.lz craftbukkit-46e1b54a7457059fa3b9b421d6076fd554032314.tar.xz craftbukkit-46e1b54a7457059fa3b9b421d6076fd554032314.zip |
Fixed blockcache being inaccurate
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldServer.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java index 7a4645fd..06ceb23a 100644 --- a/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java @@ -126,6 +126,13 @@ public class WorldServer extends World { } @Override + public boolean a(int i1, int j1, int k1, int l1, int i2) { + boolean result = super.a(i1, j1, k1, l1, i2); + if ((result) && (world != null)) world.updateBlock(i1, j1, k1); + return result; + } + + @Override public void a(int i1, int j1, int k1, TileEntity tileentity) { super.a(i1, j1, k1, tileentity); if (world != null) world.updateBlock(i1, j1, k1); |