From 5c9b0affe1d734cc480e85f94f0205ad0d8078f3 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Fri, 28 Oct 2016 03:47:35 +1000 Subject: + Added a log message to the Maceration Stack. ^ Bumped mod version to v1.4.9-release --- .../machines/multi/GregtechMetaTileEntity_IndustrialMacerator.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines') 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++; -- cgit