diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockTNT.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockTNT.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/java/net/minecraft/server/BlockTNT.java b/src/main/java/net/minecraft/server/BlockTNT.java index 9a1f0398..ef81fc28 100644 --- a/src/main/java/net/minecraft/server/BlockTNT.java +++ b/src/main/java/net/minecraft/server/BlockTNT.java @@ -43,9 +43,7 @@ public class BlockTNT extends Block { public void postBreak(World world, int i, int j, int k, int l) { if (!world.isStatic) { if ((l & 1) == 0) { - /* CraftBukkit - Move this earlier so the block break event can see it this.a(world, i, j, k, new ItemStack(Block.TNT.id, 1, 0)); - */ } else { EntityTNTPrimed entitytntprimed = new EntityTNTPrimed(world, (double) ((float) i + 0.5F), (double) ((float) j + 0.5F), (double) ((float) k + 0.5F)); @@ -55,15 +53,6 @@ public class BlockTNT extends Block { } } - // CraftBukkit start - Calculate drops - public java.util.ArrayList<ItemStack> calculateDrops(World world, EntityHuman entityhuman, int i, int j, int k, int l) { - if ((l & 1) == 0) { - this.a(world, i, j, k, new ItemStack(Block.TNT.id, 1, 0)); - } - return this.dropList; - } - // CraftBukkit end - public void attack(World world, int i, int j, int k, EntityHuman entityhuman) { if (entityhuman.U() != null && entityhuman.U().id == Item.FLINT_AND_STEEL.id) { world.setRawData(i, j, k, 1); |