aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialMacerator.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialMacerator.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialMacerator.java
index ef3e90ab17..c80c416120 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialMacerator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_IndustrialMacerator.java
@@ -178,7 +178,7 @@ extends GregtechMeta_MultiBlockBase {
else if (vUsedSlots >= vTE.getSizeInventory()-outputItemCount){
//Not enough output slots
if (vUsedSlots > vTE.getSizeInventory()-outputItemCount){
- if (arrayPos == 5){
+ if (arrayPos == 4){
Utils.LOG_INFO("Not Enough Output slots in top hatch");
return false;
}
@@ -190,6 +190,10 @@ extends GregtechMeta_MultiBlockBase {
if (vUsedSlots == vTE.getSizeInventory()){
Utils.LOG_INFO("Not Enough Output slots in hatch - "+arrayPos+" - [0-4] - 0 = Bottom | 4 = Top");
mValidOutputSlots[arrayPos] = false;
+ if (arrayPos == 4){
+ Utils.LOG_INFO("Not Enough Output slots in top hatch");
+ return false;
+ }
}
//Count up a position in the boolean array.
arrayPos++;