mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 21:33:49 -07:00
Reverted onPlace changes.
This commit is contained in:
@@ -77,11 +77,11 @@ public class BlockMinecartTrack extends Block {
|
||||
return world.e(i, j - 1, k);
|
||||
}
|
||||
|
||||
public void postPlace(World world, int i, int j, int k, int l) { // CraftBukkit - onPlace(World, int, int, int) -> postPlace(World, int, int, int, int)
|
||||
public void onPlace(World world, int i, int j, int k) {
|
||||
if (!world.isStatic) {
|
||||
this.a(world, i, j, k, true);
|
||||
if (this.id == Block.GOLDEN_RAIL.id) {
|
||||
this.doPhysics(world, i, j, k, this.id); // CraftBukkit - Fix dupe with pistons
|
||||
//this.doPhysics(world, i, j, k, this.id); // CraftBukkit - Fix dupe with pistons
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user