Reverted onPlace changes.

This commit is contained in:
EvilSeph committed 2012-01-28 03:09:48 -05:00
1 parent 9d90839723
commit 7bdfea4820
12 files changed
+16 -656

No files matched your search

@@ -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;