From 9ce46cc3f03b4ed977fbdcccab429f81cb6fe7c0 Mon Sep 17 00:00:00 2001 From: bl4ckscor3 Date: Tue, 14 Mar 2023 11:37:49 +0100 Subject: [PATCH] move laser block checkboxes down a bit --- .../java/net/geforcemods/securitycraft/screen/LaserScreen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/geforcemods/securitycraft/screen/LaserScreen.java b/src/main/java/net/geforcemods/securitycraft/screen/LaserScreen.java index 2ac315b2f0..c200f2de6c 100644 --- a/src/main/java/net/geforcemods/securitycraft/screen/LaserScreen.java +++ b/src/main/java/net/geforcemods/securitycraft/screen/LaserScreen.java @@ -41,7 +41,7 @@ public void init() { if (hasSmartModule) { sideConfig.forEach((dir, enabled) -> { - CallbackCheckbox checkbox = new CallbackCheckbox(leftPos + 10, topPos + dir.get3DDataValue() * 25 + 25, 20, 20, Utils.localize("gui.securitycraft:laser." + dir.getName() + "Enabled"), enabled, newValue -> onChangeValue(dir, newValue), 0x404040); + CallbackCheckbox checkbox = new CallbackCheckbox(leftPos + 10, topPos + dir.get3DDataValue() * 25 + 30, 20, 20, Utils.localize("gui.securitycraft:laser." + dir.getName() + "Enabled"), enabled, newValue -> onChangeValue(dir, newValue), 0x404040); checkbox.active = be.isEnabled(); addRenderableWidget(checkbox);