[Bleeding] Audit of onPlace methods, Moved to postPlace as appropriate.

Closes BUKKIT-89
This commit is contained in:
Tahg authored and EvilSeph committed 2012-01-24 05:18:23 -05:00
1 parent e92bdab57a
commit c7716e1de4
12 files changed
+645 -8

No files matched your search

@@ -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);