summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/BlockRedstoneTorch.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockRedstoneTorch.java')
-rw-r--r--src/main/java/net/minecraft/server/BlockRedstoneTorch.java5
1 files changed, 5 insertions, 0 deletions
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);