13
0
geforkt von Mirrors/Paper

Fixed being unable to cancel TNT placement. Fixes BUKKIT-89.

Dieser Commit ist enthalten in:
Tahg 2012-02-02 16:59:00 -05:00 committet von EvilSeph
Ursprung 1884f2f763
Commit 5479a2ca82

Datei anzeigen

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