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

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