Fixed bug involving pistons and powered rails. This fixes BUKKIT-517.

This commit is contained in:
Nathan Adams 2012-01-15 20:49:29 +00:00
parent 864397d6c8
commit 520cb5aa5b

View File

@ -81,7 +81,7 @@ public class BlockMinecartTrack extends Block {
if (!world.isStatic) { if (!world.isStatic) {
this.a(world, i, j, k, true); this.a(world, i, j, k, true);
if (this.id == Block.GOLDEN_RAIL.id) { if (this.id == Block.GOLDEN_RAIL.id) {
this.doPhysics(world, i, j, k, this.id); //this.doPhysics(world, i, j, k, this.id); // CraftBukkit - Fix dupe with pistons
} }
} }
} }