From 8def5ffd1a2ff06b857a732e852818f68a070b1b Mon Sep 17 00:00:00 2001 From: NexusNull Date: Wed, 4 Jan 2023 00:37:22 +0100 Subject: make crop harvestor search below aswell (#474) Signed-off-by: NexusNull Signed-off-by: NexusNull --- .../tileentities/machines/basic/GT_MetaTileEntity_CropHarvestor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/gtPlusPlus/xmod/gregtech') diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_CropHarvestor.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_CropHarvestor.java index 40425646c3..c65c7be917 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_CropHarvestor.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_CropHarvestor.java @@ -204,7 +204,7 @@ public class GT_MetaTileEntity_CropHarvestor extends GT_MetaTileEntity_BasicTank this.mCropCache.clear(); } // Logger.INFO("Looking for crops."); - for (int y = 0; y <= 2; y++) { + for (int y = -2; y <= 2; y++) { for (int x = (-aSide); x <= aSide; x++) { for (int z = (-aSide); z <= aSide; z++) { TileEntity tTileEntity = getBaseMetaTileEntity().getTileEntityOffset(x, y, z); @@ -505,7 +505,7 @@ public class GT_MetaTileEntity_CropHarvestor extends GT_MetaTileEntity_BasicTank "Secondary mode can Hydrate/Fertilize/Weed-EX", "Consumes " + powerUsage() + "eu per harvest", "Consumes " + powerUsageSecondary() + "eu per secondary operation", - "Can harvest 2 blocks above", + "Can harvest 2 blocks above and below", "Radius: " + aSide + " each side (" + aRadius + "x3x" + aRadius + ")", "Has " + (this.mTier * 5) + "% chance for extra drops", "Holds " + this.getCapacity() + "L of Water", -- cgit