From 2ca99c29d278052bd32ac21432dfecc3116e9b06 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Fri, 15 May 2026 18:30:12 -0500 Subject: [PATCH] config reset button don't change menu --- .../common/wrappers/gui/classicConfig/DhConfigScreen.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/classicConfig/DhConfigScreen.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/classicConfig/DhConfigScreen.java index ca490999a..5c725fa9a 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/classicConfig/DhConfigScreen.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/classicConfig/DhConfigScreen.java @@ -570,12 +570,6 @@ class DhConfigScreen extends DhScreen { configEntry.uiSetWithoutSaving(configEntry.getDefaultValue()); this.reload = true; - - #if MC_VER <= MC_1_12_2 - Objects.requireNonNull(this.mc).displayGuiScreen(ClassicConfigGUI.getScreen(this.parent, this.category)); - #else - Objects.requireNonNull(this.minecraft).setScreen(this.parent); - #endif }; int resetButtonPosX = this.width