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/BlockRedstoneWire.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/BlockRedstoneWire.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockRedstoneWire.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/BlockRedstoneWire.java b/src/main/java/net/minecraft/server/BlockRedstoneWire.java index 07226d18..31145615 100644 --- a/src/main/java/net/minecraft/server/BlockRedstoneWire.java +++ b/src/main/java/net/minecraft/server/BlockRedstoneWire.java @@ -195,8 +195,8 @@ public class BlockRedstoneWire extends Block { } } - public void onPlace(World world, int i, int j, int k) { - super.onPlace(world, i, j, 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) + super.postPlace(world, i, j, k, l); // CraftBukkit - onPlace(World, int, int, int) -> postPlace(World, int, int, int, int) if (!world.isStatic) { this.g(world, i, j, k); world.applyPhysics(i, j + 1, k, this.id); |