From e02179404a8fde4c0023d6009135a8787e6577cf Mon Sep 17 00:00:00 2001 From: Lizbeth Rika Date: Wed, 28 Jan 2015 19:41:56 +0000 Subject: [PATCH] Removed an improper check that was causing the Terra Shatterer to not break blocks on X=0 or Z=0. Closes #502. --- .../vazkii/botania/common/item/equipment/tool/ToolCommons.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/vazkii/botania/common/item/equipment/tool/ToolCommons.java b/src/main/java/vazkii/botania/common/item/equipment/tool/ToolCommons.java index 5f7f80372..766e61495 100644 --- a/src/main/java/vazkii/botania/common/item/equipment/tool/ToolCommons.java +++ b/src/main/java/vazkii/botania/common/item/equipment/tool/ToolCommons.java @@ -42,8 +42,7 @@ public final class ToolCommons { for(int x1 = xs; x1 < xe; x1++) for(int y1 = ys; y1 < ye; y1++) for(int z1 = zs; z1 < ze; z1++) - if(x != x1 && y != y1 && z != z1) - removeBlockWithDrops(player, stack, world, x1 + x, y1 + y, z1 + z, x, y, z, block, materialsListing, silk, fortune, blockHardness, dispose); + removeBlockWithDrops(player, stack, world, x1 + x, y1 + y, z1 + z, x, y, z, block, materialsListing, silk, fortune, blockHardness, dispose); } public static boolean isRightMaterial(Material material, Material[] materialsListing) {