aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common
diff options
context:
space:
mode:
authorJaiden Baker <jaidencolebaker@gmail.com>2023-08-23 08:06:28 +1200
committerGitHub <noreply@github.com>2023-08-22 22:06:28 +0200
commit565ef33c14f8f39e9f347f532609f2053309110c (patch)
tree08c82cd8c7ba1d139f4a9386a4617b79fcf6d07c /src/main/java/gtPlusPlus/xmod/gregtech/common
parent41a28b0ebc1b6e1d5c3484d932f3f238fa2d92f6 (diff)
downloadGT5-Unofficial-565ef33c14f8f39e9f347f532609f2053309110c.tar.gz
GT5-Unofficial-565ef33c14f8f39e9f347f532609f2053309110c.tar.bz2
GT5-Unofficial-565ef33c14f8f39e9f347f532609f2053309110c.zip
Fix Algae Farm compost calculation (#726)
* Fix Algae Farm compost calculation * Spotless
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/algae/GregtechMTE_AlgaePondBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/algae/GregtechMTE_AlgaePondBase.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/algae/GregtechMTE_AlgaePondBase.java
index 8b1e53fe89..a0225e7d48 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/algae/GregtechMTE_AlgaePondBase.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/algae/GregtechMTE_AlgaePondBase.java
@@ -334,7 +334,7 @@ public class GregtechMTE_AlgaePondBase extends GregtechMeta_MultiBlockBase<Gregt
ItemStack aCompost = ItemUtils.getSimpleStack(AgriculturalChem.mCompost, 1);
for (ItemStack i : aItemInputs) {
if (GT_Utility.areStacksEqual(aCompost, i)) {
- if (i.stackSize >= 8) {
+ if (i.stackSize >= RecipeLoader_AlgaeFarm.compostForTier(mLevel)) {
return true;
}
}