aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxim <maxim235@gmx.de>2022-08-27 09:43:09 +0200
committerGitHub <noreply@github.com>2022-08-27 09:43:09 +0200
commite66836d0c53b981c94d17d52c2fe12401779da33 (patch)
treec0193d7880a4ae827d72eb24745900d2964e465b /src
parentd3780510795abf8f4b29c7fe81018770a82425d4 (diff)
downloadGT5-Unofficial-e66836d0c53b981c94d17d52c2fe12401779da33.tar.gz
GT5-Unofficial-e66836d0c53b981c94d17d52c2fe12401779da33.tar.bz2
GT5-Unofficial-e66836d0c53b981c94d17d52c2fe12401779da33.zip
Fixed getMaxParallelRecipe to retrieve the correct value (#311)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/misc/GMTE_AmazonPackager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/misc/GMTE_AmazonPackager.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/misc/GMTE_AmazonPackager.java
index e9838be931..7d115e4286 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/misc/GMTE_AmazonPackager.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/misc/GMTE_AmazonPackager.java
@@ -167,7 +167,7 @@ public class GMTE_AmazonPackager extends GregtechMeta_MultiBlockBase<GMTE_Amazon
tItems.add(this.getGUIItemStack());
}
ItemStack[] tItemInputs = tItems.toArray(new ItemStack[tItems.size()]);
- boolean state = checkRecipeGeneric(tItemInputs, sNoFluids, 16 * GT_Utility.getTier(this.getMaxInputVoltage()), 75, 500, 10000);
+ boolean state = checkRecipeGeneric(tItemInputs, sNoFluids, getMaxParallelRecipes(), 75, 500, 10000);
if (state) {
@@ -571,7 +571,7 @@ public class GMTE_AmazonPackager extends GregtechMeta_MultiBlockBase<GMTE_Amazon
@Override
public int getMaxParallelRecipes() {
- return 9;
+ return (16 * GT_Utility.getTier(this.getMaxInputVoltage()));
}
@Override