aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-10-24 20:30:39 -0400
committerbowser0000 <bowser0000@gmail.com>2020-10-24 20:30:39 -0400
commit7296e488bfe96eeb1cc91bbaeb3411f43d1f4386 (patch)
tree56cbe00588c7b5374369deba6f4549c3b812ac5e /src/main/java/me/Danker/handlers
parentb16461c764179cd318cbf04887167a6bcb14cf56 (diff)
downloadSkyblockMod-7296e488bfe96eeb1cc91bbaeb3411f43d1f4386.tar.gz
SkyblockMod-7296e488bfe96eeb1cc91bbaeb3411f43d1f4386.tar.bz2
SkyblockMod-7296e488bfe96eeb1cc91bbaeb3411f43d1f4386.zip
Add riddle, trivia, blaze puzzle solvers
For the ChatTriggers haters
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index b903cd3..4663049 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -188,6 +188,10 @@ public class ConfigHandler {
if (!hasKey("toggles", "ExpertiseLore")) writeBooleanConfig("toggles", "ExpertiseLore", true);
if (!hasKey("toggles", "Skill50Display")) writeBooleanConfig("toggles", "Skill50Display", false);
if (!hasKey("toggles", "OutlineText")) writeBooleanConfig("toggles", "OutlineText", false);
+ // Puzzle Solvers
+ if (!hasKey("toggles", "ThreeManPuzzle")) writeBooleanConfig("toggles", "ThreeManPuzzle", false);
+ if (!hasKey("toggles", "OruoPuzzle")) writeBooleanConfig("toggles", "OruoPuzzle", false);
+ if (!hasKey("toggles", "BlazePuzzle")) writeBooleanConfig("toggles", "BlazePuzzle", false);
if (!hasKey("api", "APIKey")) writeStringConfig("api", "APIKey", "");
@@ -353,6 +357,10 @@ public class ConfigHandler {
tf.expertiseLoreToggled = getBoolean("toggles", "ExpertiseLore");
tf.skill50DisplayToggled = getBoolean("toggles", "Skill50Display");
tf.outlineTextToggled = getBoolean("toggles", "OutlineText");
+ // Puzzle Solvers
+ tf.threeManToggled = getBoolean("toggles", "ThreeManPuzzle");
+ tf.oruoToggled = getBoolean("toggles", "OruoPuzzle");
+ tf.blazeToggled = getBoolean("toggles", "BlazePuzzle");
final BlockSlayerCommand bs = new BlockSlayerCommand();
String onlySlayer = getString("toggles", "BlockSlayer");