aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-02-16 17:33:58 -0500
committerbowser0000 <bowser0000@gmail.com>2021-02-16 17:33:58 -0500
commit5d20b7fec0a3f9a866cad488f73fa061cc66efd9 (patch)
treedf42135318ed7edadea2a62b5c6ec49707307a65 /src
parent5fb8f923374e32adf4fadf6c9b0e7fe8dade0418 (diff)
downloadSkyblockMod-5d20b7fec0a3f9a866cad488f73fa061cc66efd9.tar.gz
SkyblockMod-5d20b7fec0a3f9a866cad488f73fa061cc66efd9.tar.bz2
SkyblockMod-5d20b7fec0a3f9a866cad488f73fa061cc66efd9.zip
Fix only slayer turning back on after pressing Go Back
Diffstat (limited to 'src')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java2
-rw-r--r--src/main/java/me/Danker/gui/OnlySlayerGui.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index 671b6ab..604f57f 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -76,7 +76,7 @@ import java.util.regex.Pattern;
@Mod(modid = DankersSkyblockMod.MODID, version = DankersSkyblockMod.VERSION, clientSideOnly = true)
public class DankersSkyblockMod {
public static final String MODID = "Danker's Skyblock Mod";
- public static final String VERSION = "1.8.5-beta8";
+ public static final String VERSION = "1.8.5-beta9";
static double checkItemsNow = 0;
static double itemsChecked = 0;
public static Map<String, String> t6Enchants = new HashMap<>();
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 = "";