From 990f50949c1d8ef84a0c4468e33d780faa44c409 Mon Sep 17 00:00:00 2001 From: Asek3 <64613894+Asek3@users.noreply.github.com> Date: Tue, 5 Sep 2023 21:54:03 +0300 Subject: [PATCH] Fix for pressable buttons with disabled GUI --- src/main/java/net/coderbot/iris/gui/screen/ShaderPackScreen.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/coderbot/iris/gui/screen/ShaderPackScreen.java b/src/main/java/net/coderbot/iris/gui/screen/ShaderPackScreen.java index 6e5adde702..d07dbcf613 100644 --- a/src/main/java/net/coderbot/iris/gui/screen/ShaderPackScreen.java +++ b/src/main/java/net/coderbot/iris/gui/screen/ShaderPackScreen.java @@ -194,6 +194,7 @@ protected void init() { } this.buttons.clear(); + this.children.clear(); if (!this.guiHidden) { if (optionMenuOpen && shaderOptionList != null) {