Don't extend pistons until data is set. Fixes BUKKIT-2153

This commit is contained in:
John Driscoll authored and Wesley Wolfe committed 2012-08-17 17:06:46 -05:00
1 parent 050a9276bc
commit 0bde47a173
2 files changed
+6 -2

No files matched your search

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