From 74f80ca2f539936eef4d1c77c2587ec584b02625 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Tue, 3 Feb 2026 07:25:14 -0600 Subject: [PATCH] ClassicConfig TODO remove --- .../common/wrappers/gui/ClassicConfigGUI.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java index c7737ae2c..95aec43f5 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java @@ -955,11 +955,17 @@ public class ClassicConfigGUI { try { + // setting the "y" variable is necessary so each child item + // renders at the correct height, + // if not set they will render off-screen. #if MC_VER < MC_1_21_9 + // Y value passed in from method args #else - int y = this.getY(); /// TODO why is the Y value being set during render? + int y = this.getY(); #endif + + if (this.button != null) { SetY(this.button, y);