From 3375d3924fd60fc66d8b07f1d3480afe51e5f6ca Mon Sep 17 00:00:00 2001 From: Lyfts <127234178+Lyfts@users.noreply.github.com> Date: Wed, 14 Feb 2024 01:12:37 +0100 Subject: Fix crop harvester stopping after 1 crop if harvesting is off (#833) fix crop harvester stopping after 1 crop if harvesting is off --- .../tileentities/machines/basic/GT_MetaTileEntity_CropHarvestor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 972fc086f9..af430c4a27 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 @@ -232,7 +232,7 @@ public class GT_MetaTileEntity_CropHarvestor extends GT_MetaTileEntity_BasicTank if (aCrop == null) continue; if (this.mModeAlternative) processSecondaryFunctions(tCrop); - if (!this.mHarvestEnabled) break; + if (!this.mHarvestEnabled) continue; if (aCrop.canBeHarvested(tCrop) && tCrop.getSize() == aCrop.getOptimalHavestSize(tCrop)) { if (!getBaseMetaTileEntity().decreaseStoredEnergyUnits(powerUsage(), true)) continue; -- cgit