aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbombcar <github@bombcar.com>2021-11-26 08:32:53 -0600
committerbombcar <github@bombcar.com>2021-11-26 08:32:53 -0600
commit0cf66de644598ef44ec662a46eeacb1dffbfd7a8 (patch)
tree239b5d576beae59620e6ecc22719abab5712bda6 /src
parent2b42cb27f84b23a38c154469575c108da29307b4 (diff)
downloadGT5-Unofficial-0cf66de644598ef44ec662a46eeacb1dffbfd7a8.tar.gz
GT5-Unofficial-0cf66de644598ef44ec662a46eeacb1dffbfd7a8.tar.bz2
GT5-Unofficial-0cf66de644598ef44ec662a46eeacb1dffbfd7a8.zip
turn tryfill public
Diffstat (limited to 'src')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/nbthandlers/GT_MetaTileEntity_Hatch_NbtConsumable.java3
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/nbthandlers/GT_MetaTileEntity_Hatch_NbtConsumable.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/nbthandlers/GT_MetaTileEntity_Hatch_NbtConsumable.java
index 7c857ac0bf..56dff1b1e3 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/nbthandlers/GT_MetaTileEntity_Hatch_NbtConsumable.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/nbthandlers/GT_MetaTileEntity_Hatch_NbtConsumable.java
@@ -128,7 +128,6 @@ public abstract class GT_MetaTileEntity_Hatch_NbtConsumable extends GT_MetaTileE
fillStacksIntoFirstSlots();
}
}
- tryFillUsageSlots();
}
// Only moves items in the first four slots
@@ -142,7 +141,7 @@ public abstract class GT_MetaTileEntity_Hatch_NbtConsumable extends GT_MetaTileE
}
}
- private final void tryFillUsageSlots() {
+ public final void tryFillUsageSlots() {
int aSlotSpace = (mInputslotCount - getContentUsageSlots().size());
if (aSlotSpace > 0) {
Logger.INFO("We have empty usage slots. "+aSlotSpace);
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java
index 8d778d4e67..8c0af73282 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java
@@ -768,6 +768,7 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase {
updateSlots();
for (GT_MetaTileEntity_Hatch_Catalysts h : mCatalystBuses) {
h.updateSlots();
+ h.tryFillUsageSlots();
}
// Play sounds (GT++ addition - GT multiblocks play no sounds)