aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers
diff options
context:
space:
mode:
authorMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-06 10:46:52 -0500
committerMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-06 10:46:52 -0500
commit9a1e3f204296783a1de0d78a0b7e8b3441039a0a (patch)
tree2a703e082ffa57a8d5156417341f91af146f01e9 /src/main/java/me/Danker/handlers
parent9ec9e1cb376ab39471a3a9fe3888d52626b3ee3b (diff)
downloadSkyblockMod-9a1e3f204296783a1de0d78a0b7e8b3441039a0a.tar.gz
SkyblockMod-9a1e3f204296783a1de0d78a0b7e8b3441039a0a.tar.bz2
SkyblockMod-9a1e3f204296783a1de0d78a0b7e8b3441039a0a.zip
Feature: Auto-Swap LMB to pick block
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index 0d0ccb1..3ed5601 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -204,6 +204,8 @@ public class ConfigHandler {
if (!hasKey("toggles", "UltraSequencer")) writeBooleanConfig("toggles", "UltraSequencer", false);
if (!hasKey("toggles", "Chronomatron")) writeBooleanConfig("toggles", "Chronomatron", false);
if (!hasKey("toggles", "Superpairs")) writeBooleanConfig("toggles", "Superpairs", false);
+ if (!hasKey("toggles", "PickBlockInExperiments")) writeBooleanConfig("toggles", "PickBlockInExperiments", false);
+
if (!hasKey("api", "APIKey")) writeStringConfig("api", "APIKey", "");
@@ -448,6 +450,7 @@ public class ConfigHandler {
ToggleCommand.ultrasequencerToggled = getBoolean("toggles", "UltraSequencer");
ToggleCommand.chronomatronToggled = getBoolean("toggles", "Chronomatron");
ToggleCommand.superpairsToggled = getBoolean("toggles", "Superpairs");
+ ToggleCommand.swapToPickBlockInExperimentsToggled = getBoolean("toggles", "PickBlockInExperiments");
String onlySlayer = getString("toggles", "BlockSlayer");
if (!onlySlayer.equals("")) {