aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-05 11:06:53 -0500
committerMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-05 11:06:53 -0500
commit719a0b3e35d0cf472312021d28648395d66dab4c (patch)
tree7bebe61686b816d6c93a17f694d7b92526ade3da /src/main
parentd056aa0ec706820a94e36e2c4866c15a12b9af6e (diff)
downloadSkyblockMod-719a0b3e35d0cf472312021d28648395d66dab4c.tar.gz
SkyblockMod-719a0b3e35d0cf472312021d28648395d66dab4c.tar.bz2
SkyblockMod-719a0b3e35d0cf472312021d28648395d66dab4c.zip
Fix mistake
Fix using the wrong variable in the Toggle Command
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java2
-rw-r--r--src/main/java/me/Danker/commands/ToggleCommand.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index d272121..6cb7e87 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -2843,7 +2843,7 @@ public class DankersSkyblockMod
chronomatronMouseClicks++;
}
}
-
+
if (!BlockSlayerCommand.onlySlayerName.equals("") && item != null) {
if (inventoryName.equals("Slayer")) {
if (!item.getDisplayName().contains("Revenant Horror") && !item.getDisplayName().contains("Tarantula Broodfather") && !item.getDisplayName().contains("Sven Packmaster")) return;
diff --git a/src/main/java/me/Danker/commands/ToggleCommand.java b/src/main/java/me/Danker/commands/ToggleCommand.java
index 916cc2e..2f72fd4 100644
--- a/src/main/java/me/Danker/commands/ToggleCommand.java
+++ b/src/main/java/me/Danker/commands/ToggleCommand.java
@@ -271,7 +271,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
case "superpairs":
superpairsToggled = !superpairsToggled;
ConfigHandler.writeBooleanConfig("toggles", "Superpairs", superpairsToggled);
- player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Superpairs solver has been set to " + DankersSkyblockMod.SECONDARY_COLOUR + chronomatronToggled + DankersSkyblockMod.MAIN_COLOUR + "."));
+ player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Superpairs solver has been set to " + DankersSkyblockMod.SECONDARY_COLOUR + superpairsToggled + DankersSkyblockMod.MAIN_COLOUR + "."));
break;
case "list":
player.addChatMessage(new ChatComponentText(DankersSkyblockMod.TYPE_COLOUR + "Guild party notifications: " + DankersSkyblockMod.VALUE_COLOUR + gpartyToggled + "\n" +