Reverted onPlace changes.

This commit is contained in:
EvilSeph
2012-01-28 01:59:59 -05:00
parent 9d90839723
commit 7bdfea4820
12 changed files with 16 additions and 656 deletions

View File

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