diff options
author | Tahg <tahgtahv@gmail.com> | 2012-01-17 07:37:14 -0500 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2012-01-17 19:50:10 +0100 |
commit | 387d7319bc81c31eb4e394447af6e7abb2d7bbdb (patch) | |
tree | bb8efd18dc292251a7211dcc082e00d465f89c2d | |
parent | 1d4a9e1df53fb5fbc0bba376968fa2aa0a28070d (diff) | |
download | craftbukkit-387d7319bc81c31eb4e394447af6e7abb2d7bbdb.tar craftbukkit-387d7319bc81c31eb4e394447af6e7abb2d7bbdb.tar.gz craftbukkit-387d7319bc81c31eb4e394447af6e7abb2d7bbdb.tar.lz craftbukkit-387d7319bc81c31eb4e394447af6e7abb2d7bbdb.tar.xz craftbukkit-387d7319bc81c31eb4e394447af6e7abb2d7bbdb.zip |
[Bleeding] Prevent BlockSnow from recursively calling a physics update.
-rw-r--r-- | src/main/java/net/minecraft/server/BlockSnow.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockSnow.java b/src/main/java/net/minecraft/server/BlockSnow.java index 60925c6d..ca871116 100644 --- a/src/main/java/net/minecraft/server/BlockSnow.java +++ b/src/main/java/net/minecraft/server/BlockSnow.java @@ -45,7 +45,8 @@ public class BlockSnow extends Block { private boolean g(World world, int i, int j, int k) { if (!this.canPlace(world, i, j, k)) { this.b(world, i, j, k, world.getData(i, j, k), 0); - world.setTypeId(i, j, k, 0); + world.setRawTypeId(i, j, k, 0); // CraftBukkit + world.notify(i, j, k); // CraftBukkit - Notfiy clients of the reversion return false; } else { return true; |