Pistons no longer extend before they are pistons. Fixes BUKKIT-1999
This commit is contained in:
parent
59aaa6a80a
commit
0792b15887
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user