From a2e1615af335eb9d9af86e3fec2e9f01c6b7f32a Mon Sep 17 00:00:00 2001 From: Blood-Asp Date: Wed, 26 Oct 2016 18:59:10 +0200 Subject: [PATCH] Sense tool fix --- .../gregtech/common/items/behaviors/Behaviour_Sense.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/gregtech/common/items/behaviors/Behaviour_Sense.java b/src/main/java/gregtech/common/items/behaviors/Behaviour_Sense.java index 853a50d2..90d9a894 100644 --- a/src/main/java/gregtech/common/items/behaviors/Behaviour_Sense.java +++ b/src/main/java/gregtech/common/items/behaviors/Behaviour_Sense.java @@ -26,9 +26,9 @@ public class Behaviour_Sense } TileEntity tTileEntity = aWorld.getTileEntity(aX, aY, aZ); if ((tTileEntity instanceof ICropTile)) { - for (int i = -1; i < 2; i++) { - for (int j = -1; j < 2; j++) { - for (int k = -1; k < 2; k++) { + for (int i = -2; i < 3; i++) { + for (int j = -2; j < 3; j++) { + for (int k = -2; k < 3; k++) { if ((aStack.stackSize > 0) && (((tTileEntity = aWorld.getTileEntity(aX + i, aY + j, aZ + k)) instanceof ICropTile)) && (((ICropTile) tTileEntity).harvest(true)) && (!aPlayer.capabilities.isCreativeMode)) { ((GT_MetaGenerated_Tool) aItem).doDamage(aStack, this.mCosts); }