diff options
author | Tahg <tahgtahv@gmail.com> | 2012-02-02 16:59:00 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-03 01:39:00 -0500 |
commit | 5479a2ca82e84c9c13a315d5f7622ace442e5e8b (patch) | |
tree | 7c73c60a496e4354105a1837b9109c20c3b9eb77 /src/main/java/net/minecraft/server | |
parent | 1884f2f763e634dbd283716d8ac2a280ffbbcfe1 (diff) | |
download | craftbukkit-5479a2ca82e84c9c13a315d5f7622ace442e5e8b.tar craftbukkit-5479a2ca82e84c9c13a315d5f7622ace442e5e8b.tar.gz craftbukkit-5479a2ca82e84c9c13a315d5f7622ace442e5e8b.tar.lz craftbukkit-5479a2ca82e84c9c13a315d5f7622ace442e5e8b.tar.xz craftbukkit-5479a2ca82e84c9c13a315d5f7622ace442e5e8b.zip |
Fixed being unable to cancel TNT placement. Fixes BUKKIT-89.
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockTNT.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockTNT.java b/src/main/java/net/minecraft/server/BlockTNT.java index be4c7e1a..23b7eb4c 100644 --- a/src/main/java/net/minecraft/server/BlockTNT.java +++ b/src/main/java/net/minecraft/server/BlockTNT.java @@ -14,7 +14,7 @@ public class BlockTNT extends Block { public void onPlace(World world, int i, int j, int k) { super.onPlace(world, i, j, k); - if (world.isBlockIndirectlyPowered(i, j, k)) { + if (!world.suppressPhysics && world.isBlockIndirectlyPowered(i, j, k)) { // CraftBukkit this.postBreak(world, i, j, k, 1); world.setTypeId(i, j, k, 0); } |