From 5d20b7fec0a3f9a866cad488f73fa061cc66efd9 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Tue, 16 Feb 2021 17:33:58 -0500 Subject: Fix only slayer turning back on after pressing Go Back --- src/main/java/me/Danker/gui/OnlySlayerGui.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/me/Danker/gui/OnlySlayerGui.java') diff --git a/src/main/java/me/Danker/gui/OnlySlayerGui.java b/src/main/java/me/Danker/gui/OnlySlayerGui.java index 89c701d..a3c8ffc 100644 --- a/src/main/java/me/Danker/gui/OnlySlayerGui.java +++ b/src/main/java/me/Danker/gui/OnlySlayerGui.java @@ -95,6 +95,7 @@ public class OnlySlayerGui extends GuiScreen { public void actionPerformed(GuiButton button) { if (button == goBack) { DankersSkyblockMod.guiToOpen = "dankergui1"; + return; } else if (button == off) { BlockSlayerCommand.onlySlayerName = ""; BlockSlayerCommand.onlySlayerNumber = ""; -- cgit