summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWesley Wolfe <weswolf@aol.com>2012-08-06 09:55:38 -0500
committerWesley Wolfe <weswolf@aol.com>2012-08-06 09:55:38 -0500
commit0792b158875248f674a98454f60343a5d62ecb29 (patch)
tree64afb9254ef9ff828b3405d3d4f4f543abf45b25 /src
parent59aaa6a80a5a6fddb38d79eb9e8130851a64646c (diff)
downloadcraftbukkit-0792b158875248f674a98454f60343a5d62ecb29.tar
craftbukkit-0792b158875248f674a98454f60343a5d62ecb29.tar.gz
craftbukkit-0792b158875248f674a98454f60343a5d62ecb29.tar.lz
craftbukkit-0792b158875248f674a98454f60343a5d62ecb29.tar.xz
craftbukkit-0792b158875248f674a98454f60343a5d62ecb29.zip
Pistons no longer extend before they are pistons. Fixes BUKKIT-1999
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/BlockPiston.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockPiston.java b/src/main/java/net/minecraft/server/BlockPiston.java
index 2944eca7..3bf3752a 100644
--- a/src/main/java/net/minecraft/server/BlockPiston.java
+++ b/src/main/java/net/minecraft/server/BlockPiston.java
@@ -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);
+ // this.l(world, i, j, k); // CraftBukkit - don't extend arm of piston that doesn't exist
}
}