Pistons no longer extend before they are pistons. Fixes BUKKIT-1999

This commit is contained in:
Wesley Wolfe 2012-08-06 09:55:38 -05:00
parent 59aaa6a80a
commit 0792b15887

View file

@ -55,7 +55,7 @@ public class BlockPiston extends Block {
public void onPlace(World world, int i, int j, int k) { public void onPlace(World world, int i, int j, int k) {
if (!world.isStatic && world.getTileEntity(i, j, k) == null) { if (!world.isStatic && world.getTileEntity(i, j, k) == null) {
this.l(world, i, j, k); // this.l(world, i, j, k); // CraftBukkit - don't extend arm of piston that doesn't exist
} }
} }