[Bleeding] Prevent BlockSnow from recursively calling a physics update.

This commit is contained in:
Tahg authored and Erik Broes committed 2012-01-17 19:50:10 +01:00
1 parent 1d4a9e1df5
commit 387d7319bc
1 file changed
+2 -1
@@ -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;