Skip to content

Commit 23215b5

Browse files
committed
fix slot
1 parent c57b839 commit 23215b5

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/main/java/com/gregtechceu/gtceu/common/machine/multiblock/primitive/PrimitiveBlastFurnaceMachine.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,12 @@ private SlotGroupWidget createImportItemSlot(PanelSyncManager syncManager) {
180180
syncManager.syncValue("import", i, syncHandler);
181181
return new ItemSlot()
182182
.syncHandler("import", i)
183-
.background((i == 0) ? GTGuiTextures.PRIMITIVE_INGOT_OVERLAY : (i == 1) ?
184-
GTGuiTextures.PRIMITIVE_DUST_OVERLAY : GTGuiTextures.PRIMITIVE_FURNACE_OVERLAY);
183+
.background(GTGuiTextures.SLOT_PRIMITIVE,
184+
(i == 0) ? GTGuiTextures.PRIMITIVE_INGOT_OVERLAY : (i == 1) ?
185+
GTGuiTextures.PRIMITIVE_DUST_OVERLAY :
186+
GTGuiTextures.PRIMITIVE_FURNACE_OVERLAY);
185187
})
186-
.build().background(GTGuiTextures.SLOT_PRIMITIVE);
188+
.build();
187189
}
188190

189191
private SlotGroupWidget createExportItemSlot(PanelSyncManager syncManager) {
@@ -200,10 +202,11 @@ private SlotGroupWidget createExportItemSlot(PanelSyncManager syncManager) {
200202
ItemSlotSH syncHandler = new ItemSlotSH(slot.slotGroup(slotGroup));
201203
syncManager.syncValue("export", i, syncHandler);
202204
return new ItemSlot()
203-
.syncHandler("export", i).background((i == 0) ? GTGuiTextures.PRIMITIVE_INGOT_OVERLAY :
205+
.syncHandler("export", i)
206+
.background(GTGuiTextures.SLOT_PRIMITIVE, (i == 0) ? GTGuiTextures.PRIMITIVE_INGOT_OVERLAY :
204207
GTGuiTextures.PRIMITIVE_DUST_OVERLAY);
205208
})
206-
.build().background(GTGuiTextures.SLOT_PRIMITIVE);
209+
.build();
207210
}
208211

209212
@Override

0 commit comments

Comments
 (0)