diff options
author | EvilSeph <evilseph@gmail.com> | 2012-01-28 01:59:59 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-01-28 03:09:48 -0500 |
commit | 7bdfea48204655ec8158784bc6653be3f281a5cf (patch) | |
tree | 8246ecd0d846b3e124e7825522d7e5690517fefb /src/main/java/net/minecraft/server/TileEntityPiston.java | |
parent | 9d90839723deb5808df125c6b4b23d6a8156f23d (diff) | |
download | craftbukkit-7bdfea48204655ec8158784bc6653be3f281a5cf.tar craftbukkit-7bdfea48204655ec8158784bc6653be3f281a5cf.tar.gz craftbukkit-7bdfea48204655ec8158784bc6653be3f281a5cf.tar.lz craftbukkit-7bdfea48204655ec8158784bc6653be3f281a5cf.tar.xz craftbukkit-7bdfea48204655ec8158784bc6653be3f281a5cf.zip |
Reverted onPlace changes.
Diffstat (limited to 'src/main/java/net/minecraft/server/TileEntityPiston.java')
-rw-r--r-- | src/main/java/net/minecraft/server/TileEntityPiston.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/TileEntityPiston.java b/src/main/java/net/minecraft/server/TileEntityPiston.java index fed3a6aa..ffc3286b 100644 --- a/src/main/java/net/minecraft/server/TileEntityPiston.java +++ b/src/main/java/net/minecraft/server/TileEntityPiston.java @@ -83,8 +83,6 @@ public class TileEntityPiston extends TileEntity { this.i(); if (this.world.getTypeId(this.x, this.y, this.z) == Block.PISTON_MOVING.id) { this.world.setTypeIdAndData(this.x, this.y, this.z, this.a, this.b); - Block block = Block.byId[this.world.getTypeId(this.x, this.y, this.z)]; - if (block != null) block.postPlace(this.world, this.x, this.y, this.z, 0); } } } @@ -99,8 +97,6 @@ public class TileEntityPiston extends TileEntity { this.i(); if (this.world.getTypeId(this.x, this.y, this.z) == Block.PISTON_MOVING.id) { this.world.setTypeIdAndData(this.x, this.y, this.z, this.a, this.b); - Block block = Block.byId[this.world.getTypeId(this.x, this.y, this.z)]; - if (block != null) block.postPlace(this.world, this.x, this.y, this.z, 0); } } else { this.f += 0.5F; |