From 73f7af4dbfefed2b5e4b31a37fc0c5258458c1be Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Sat, 9 Mar 2024 15:34:50 +0100 Subject: [PATCH] Fix the position of the auto split button in the Powered Furnace UI --- .../actuallyadditions/mod/inventory/gui/GuiFurnaceDouble.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiFurnaceDouble.java b/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiFurnaceDouble.java index d7462c051..ec38dac12 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiFurnaceDouble.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiFurnaceDouble.java @@ -61,7 +61,7 @@ public class GuiFurnaceDouble extends AAScreen { super.init(); this.energy = new EnergyDisplay(this.leftPos + 27, this.topPos + 5, this.tileFurnace.storage); this.buttonAutoSplit = Button.builder(Component.literal("S"), (button) -> PacketHandlerHelper.sendButtonPacket(this.tileFurnace, 0)) - .bounds(this.leftPos + 27, this.topPos + 5, 16, 16).build(); + .bounds(this.getGuiLeft(), 30, 16, 16).build(); buttonAutoSplit.setFGColor(this.tileFurnace.isAutoSplit ? ChatFormatting.DARK_GREEN.getColor() : ChatFormatting.RED.getColor()); this.addRenderableWidget(this.buttonAutoSplit); }