aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-09-14 18:27:29 -0400
committerbowser0000 <bowser0000@gmail.com>2020-09-14 18:27:29 -0400
commit05a53bb80df79e399b5b5a573311059f9f467ff6 (patch)
treec24abd9f9b3c9a1b3d31632bcc4dbe84311a9d13 /src/main/java/me/Danker/handlers
parent0bbf2635b76352c241dcfe0f85c14e2e9a73405b (diff)
downloadSkyblockMod-05a53bb80df79e399b5b5a573311059f9f467ff6.tar.gz
SkyblockMod-05a53bb80df79e399b5b5a573311059f9f467ff6.tar.bz2
SkyblockMod-05a53bb80df79e399b5b5a573311059f9f467ff6.zip
Add shark tracker and golem alert
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index f14c4c4..127f178 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -183,6 +183,7 @@ public class ConfigHandler {
if (!hasKey("toggles", "PetColors")) writeBooleanConfig("toggles", "PetColors", false);
if (!hasKey("toggles", "DungeonTimer")) writeBooleanConfig("toggles", "DungeonTimer", false);
if (!hasKey("toggles", "BlockSlayer")) writeStringConfig("toggles", "BlockSlayer", "");
+ if (!hasKey("toggles", "GolemAlerts")) writeBooleanConfig("toggles", "GolemAlerts", false);
if (!hasKey("api", "APIKey")) writeStringConfig("api", "APIKey", "");
@@ -255,6 +256,11 @@ public class ConfigHandler {
if (!hasKey("fishing", "yeti")) writeIntConfig("fishing", "yeti", 0);
if (!hasKey("fishing", "yetiTime")) writeDoubleConfig("fishing", "yetiTime", -1);
if (!hasKey("fishing", "yetiSC")) writeIntConfig("fishing", "yetiSC", -1);
+ // Fishing Festival
+ if (!hasKey("fishing", "nurseShark")) writeIntConfig("fishing", "nurseShark", 0);
+ if (!hasKey("fishing", "blueShark")) writeIntConfig("fishing", "blueShark", 0);
+ if (!hasKey("fishing", "tigerShark")) writeIntConfig("fishing", "tigerShark", 0);
+ if (!hasKey("fishing", "greatWhiteShark")) writeIntConfig("fishing", "greatWhiteShark", 0);
// Dungeons
if (!hasKey("catacombs", "recombobulator")) writeIntConfig("catacombs", "recombobulator", 0);
@@ -313,6 +319,7 @@ public class ConfigHandler {
tf.sceptreMessages = getBoolean("toggles", "SceptreMessages");
tf.petColoursToggled = getBoolean("toggles", "PetColors");
tf.dungeonTimerToggled = getBoolean("toggles", "DungeonTimer");
+ tf.golemAlertToggled = getBoolean("toggles", "GolemAlerts");
final BlockSlayerCommand bs = new BlockSlayerCommand();
String onlySlayer = getString("toggles", "BlockSlayer");
@@ -391,6 +398,11 @@ public class ConfigHandler {
lc.yetis = getInt("fishing", "yeti");
lc.yetiTime = getDouble("fishing", "yetiTime");
lc.yetiSCs = getInt("fishing", "yetiSC");
+ // Fishing Festival
+ lc.nurseSharks = getInt("fishing", "nurseShark");
+ lc.blueSharks = getInt("fishing", "blueShark");
+ lc.tigerSharks = getInt("fishing", "tigerShark");
+ lc.greatWhiteSharks = getInt("fishing", "greatWhiteShark");
// Dungeons
lc.recombobulators = getInt("catacombs", "recombobulator");