mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +01:00
Pistons no longer extend before they are pistons. Fixes BUKKIT-1999
This commit is contained in:
parent
59aaa6a80a
commit
0792b15887
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue