aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbombcar <github@bombcar.com>2021-11-26 08:57:46 -0600
committerbombcar <github@bombcar.com>2021-11-26 08:57:46 -0600
commitf19ff7aa5c13c6e4d4e26e5d3f825f30d80c8f9d (patch)
tree97452ddc58f1760e075df46150323dbf1f761560 /src
parent0cf66de644598ef44ec662a46eeacb1dffbfd7a8 (diff)
downloadGT5-Unofficial-f19ff7aa5c13c6e4d4e26e5d3f825f30d80c8f9d.tar.gz
GT5-Unofficial-f19ff7aa5c13c6e4d4e26e5d3f825f30d80c8f9d.tar.bz2
GT5-Unofficial-f19ff7aa5c13c6e4d4e26e5d3f825f30d80c8f9d.zip
Revert "turn tryfill public"
This reverts commit 0cf66de644598ef44ec662a46eeacb1dffbfd7a8.
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 56dff1b1e3..7c857ac0bf 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,6 +128,7 @@ public abstract class GT_MetaTileEntity_Hatch_NbtConsumable extends GT_MetaTileE
fillStacksIntoFirstSlots();
}
}
+ tryFillUsageSlots();
}
// Only moves items in the first four slots
@@ -141,7 +142,7 @@ public abstract class GT_MetaTileEntity_Hatch_NbtConsumable extends GT_MetaTileE
}
}
- public final void tryFillUsageSlots() {
+ private 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 8c0af73282..8d778d4e67 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,7 +768,6 @@ 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)