mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Reverted onPlace changes.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user