aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-07-03 11:33:11 +0900
committerGitHub <noreply@github.com>2023-07-03 11:33:11 +0900
commitdde7963402d2c94d0de6f11d27384449c1bb2705 (patch)
treed8bd12c9cf2dffdc12907413b62b854486310b38
parenteb40eae213bea7b2678410eec33df9288318e6e1 (diff)
downloadGT5-Unofficial-dde7963402d2c94d0de6f11d27384449c1bb2705.tar.gz
GT5-Unofficial-dde7963402d2c94d0de6f11d27384449c1bb2705.tar.bz2
GT5-Unofficial-dde7963402d2c94d0de6f11d27384449c1bb2705.zip
Prioritize ghost slots over manual slot for stocking bus (#2112)
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_InputBus_ME.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_InputBus_ME.java b/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_InputBus_ME.java
index a362044695..c8b5a65e9c 100644
--- a/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_InputBus_ME.java
+++ b/src/main/java/gregtech/common/tileentities/machines/GT_MetaTileEntity_Hatch_InputBus_ME.java
@@ -546,7 +546,10 @@ public class GT_MetaTileEntity_Hatch_InputBus_ME extends GT_MetaTileEntity_Hatch
.setPos(80, 10))
.widget(new FakeSyncWidget.BooleanSyncer(() -> autoPullItemList, this::setAutoPullItemList))
.widget(
- new SlotWidget(inventoryHandler, getManualSlot()).setBackground(getGUITextureSet().getItemSlot())
+ new SlotWidget(inventoryHandler, getManualSlot())
+ // ghost slots are prioritized over manual slot
+ .setShiftClickPriority(11)
+ .setBackground(getGUITextureSet().getItemSlot())
.setPos(79, 45));
}