diff options
author | Tahg <tahgtahv@gmail.com> | 2012-01-17 19:37:58 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-01-24 05:18:23 -0500 |
commit | c7716e1de4eac70725d39994909a23e71b188dab (patch) | |
tree | 26d9b87ab8fb04fdca41589bfe1241d303c9692c /src/main/java/net/minecraft/server/BlockMinecartTrack.java | |
parent | e92bdab57a1bc5a02801fbf1568e746a66678c3a (diff) | |
download | craftbukkit-c7716e1de4eac70725d39994909a23e71b188dab.tar craftbukkit-c7716e1de4eac70725d39994909a23e71b188dab.tar.gz craftbukkit-c7716e1de4eac70725d39994909a23e71b188dab.tar.lz craftbukkit-c7716e1de4eac70725d39994909a23e71b188dab.tar.xz craftbukkit-c7716e1de4eac70725d39994909a23e71b188dab.zip |
[Bleeding] Audit of onPlace methods, Moved to postPlace as appropriate.
Closes BUKKIT-89
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockMinecartTrack.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockMinecartTrack.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/BlockMinecartTrack.java b/src/main/java/net/minecraft/server/BlockMinecartTrack.java index 335d6a8c..5ce6cb99 100644 --- a/src/main/java/net/minecraft/server/BlockMinecartTrack.java +++ b/src/main/java/net/minecraft/server/BlockMinecartTrack.java @@ -77,11 +77,11 @@ public class BlockMinecartTrack extends Block { return world.e(i, j - 1, k); } - public void onPlace(World world, int i, int j, int 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) 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 } } } |