aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers/ConfigHandler.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-11-24 17:48:30 -0500
committerbowser0000 <bowser0000@gmail.com>2021-11-24 17:48:30 -0500
commit871e4e7b1257ceb459cd78b33c9f4b107a8ab9bb (patch)
treeb251e5274c1d0370436df9f8443ed944b7644c46 /src/main/java/me/Danker/handlers/ConfigHandler.java
parenta63cb87198b563edd4ac88b226fd004d0c616360 (diff)
downloadSkyblockMod-871e4e7b1257ceb459cd78b33c9f4b107a8ab9bb.tar.gz
SkyblockMod-871e4e7b1257ceb459cd78b33c9f4b107a8ab9bb.tar.bz2
SkyblockMod-871e4e7b1257ceb459cd78b33c9f4b107a8ab9bb.zip
Re-add blocking click features
Add blocking starting wrong slayer quest Add block placing flower weapons Add blocking misclicks in solvers Add F7 arrow terminal solver (Source: https://cdn.discordapp.com/attachments/823769568933576764/906101631861526559/unknown.png)
Diffstat (limited to 'src/main/java/me/Danker/handlers/ConfigHandler.java')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index 9195184..2a765ad 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -238,6 +238,7 @@ public class ConfigHandler {
ToggleCommand.necronNotificationsToggled = initBoolean("toggles", "NecronNotifications", false);
ToggleCommand.bonzoTimerToggled = initBoolean("toggles", "BonzoTimer", false);
ToggleCommand.swapToPickBlockToggled = initBoolean("toggles", "PickBlock", false);
+ ToggleCommand.flowerWeaponsToggled = initBoolean("toggles", "FlowerWeapons", false);
ToggleCommand.autoSkillTrackerToggled = initBoolean("toggles", "AutoSkillTracker", false);
// Puzzle Solvers
ToggleCommand.threeManToggled = initBoolean("toggles", "ThreeManPuzzle", false);
@@ -253,6 +254,8 @@ public class ConfigHandler {
ToggleCommand.startsWithToggled = initBoolean("toggles", "StartsWithTerminal", false);
ToggleCommand.selectAllToggled = initBoolean("toggles", "SelectAllTerminal", false);
ToggleCommand.clickInOrderToggled = initBoolean("toggles", "ClickInOrderTerminal", false);
+ ToggleCommand.blockWrongTerminalClicksToggled = initBoolean("toggles", "BlockWrongTerminalClicks", false);
+ ToggleCommand.itemFrameOnSeaLanternsToggled = initBoolean("toggles", "IgnoreItemFrameOnSeaLanterns", false);
// Experiment Solvers
ToggleCommand.ultrasequencerToggled = initBoolean("toggles", "UltraSequencer", false);
ToggleCommand.chronomatronToggled = initBoolean("toggles", "Chronomatron", false);
@@ -293,6 +296,14 @@ public class ConfigHandler {
// API
if (!hasKey("api", "APIKey")) writeStringConfig("api", "APIKey", "");
+
+ // Block Wrong Slayer
+ if (!hasKey("toggles", "BlockSlayer")) writeStringConfig("toggles", "BlockSlayer", "");
+ String onlySlayer = getString("toggles", "BlockSlayer");
+ if (!onlySlayer.equals("")) {
+ BlockWrongSlayer.onlySlayerName = onlySlayer.substring(0, onlySlayer.lastIndexOf(" "));
+ BlockWrongSlayer.onlySlayerNumber = onlySlayer.substring(onlySlayer.lastIndexOf(" ") + 1);
+ }
// Wolf
WolfTracker.wolfSvens = initInt("wolf", "svens", 0);