From c7716e1de4eac70725d39994909a23e71b188dab Mon Sep 17 00:00:00 2001 From: Tahg Date: Tue, 17 Jan 2012 19:37:58 -0500 Subject: [Bleeding] Audit of onPlace methods, Moved to postPlace as appropriate. Closes BUKKIT-89 --- src/main/java/net/minecraft/server/BlockRedstoneTorch.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/java/net/minecraft/server/BlockRedstoneTorch.java') diff --git a/src/main/java/net/minecraft/server/BlockRedstoneTorch.java b/src/main/java/net/minecraft/server/BlockRedstoneTorch.java index e9986db9..58e26f19 100644 --- a/src/main/java/net/minecraft/server/BlockRedstoneTorch.java +++ b/src/main/java/net/minecraft/server/BlockRedstoneTorch.java @@ -50,7 +50,12 @@ public class BlockRedstoneTorch extends BlockTorch { if (world.getData(i, j, k) == 0) { super.onPlace(world, i, j, k); } + // CraftBukkit start - onPlace(World, int, int, int) -> postPlace(World, int, int, int, int) + } + public void postPlace(World world, int i, int j, int k, int l) { + super.postPlace(world, i, j, k, l); + // CraftBukkit end if (this.isOn) { world.applyPhysics(i, j - 1, k, this.id); world.applyPhysics(i, j + 1, k, this.id); -- cgit v1.2.3