Fixed BlockPlace event. Fixes BUKKIT-663

This commit is contained in:
Tahg
2012-01-30 02:19:22 -05:00
committed by EvilSeph
parent 875219e28c
commit 69e766c5f3
3 changed files with 12 additions and 4 deletions

View File

@@ -196,6 +196,7 @@ public class BlockRedstoneWire extends Block {
}
public void onPlace(World world, int i, int j, int k) {
if (world.suppressPhysics) return; // CraftBukkit
super.onPlace(world, i, j, k);
if (!world.isStatic) {
this.g(world, i, j, k);