mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Pistons no longer extend before they are pistons. Fixes BUKKIT-1999
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user