diff options
author | Lyfts <127234178+Lyfts@users.noreply.github.com> | 2024-02-14 01:12:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 01:12:37 +0100 |
commit | 3375d3924fd60fc66d8b07f1d3480afe51e5f6ca (patch) | |
tree | ab97886677b2beeafa1a192aea07fd16c3e16f04 | |
parent | c62295162d0196969b5fce97fc82809eed7be710 (diff) | |
download | GT5-Unofficial-3375d3924fd60fc66d8b07f1d3480afe51e5f6ca.tar.gz GT5-Unofficial-3375d3924fd60fc66d8b07f1d3480afe51e5f6ca.tar.bz2 GT5-Unofficial-3375d3924fd60fc66d8b07f1d3480afe51e5f6ca.zip |
Fix crop harvester stopping after 1 crop if harvesting is off (#833)
fix crop harvester stopping after 1 crop if harvesting is off
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GT_MetaTileEntity_CropHarvestor.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |