From 387d7319bc81c31eb4e394447af6e7abb2d7bbdb Mon Sep 17 00:00:00 2001 From: Tahg Date: Tue, 17 Jan 2012 07:37:14 -0500 Subject: [PATCH] [Bleeding] Prevent BlockSnow from recursively calling a physics update. --- src/main/java/net/minecraft/server/BlockSnow.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/BlockSnow.java b/src/main/java/net/minecraft/server/BlockSnow.java index 60925c6d00..ca871116e7 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;