aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-12-01 19:22:42 -0500
committerbowser0000 <bowser0000@gmail.com>2020-12-01 19:22:42 -0500
commit425281727a291f36039b80acba12e3fd2304de1a (patch)
tree319382c233508762f23a8016021865f79854f728 /src/main/java/me/Danker/handlers
parentf3252519a51246acf181229d29da64858bbc5b13 (diff)
downloadSkyblockMod-425281727a291f36039b80acba12e3fd2304de1a.tar.gz
SkyblockMod-425281727a291f36039b80acba12e3fd2304de1a.tar.bz2
SkyblockMod-425281727a291f36039b80acba12e3fd2304de1a.zip
Add ability to disable Implosion messages
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index 4cc910b..87b3423 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -183,6 +183,9 @@ public class ConfigHandler {
if (!hasKey("toggles", "AOTD")) writeBooleanConfig("toggles", "AOTD", false);
if (!hasKey("toggles", "LividDagger")) writeBooleanConfig("toggles", "LividDagger", false);
if (!hasKey("toggles", "SceptreMessages")) writeBooleanConfig("toggles", "SceptreMessages", true);
+ if (!hasKey("toggles", "MidasStaffMessages")) writeBooleanConfig("toggles", "MidasStaffMessages", true);
+ if (!hasKey("toggles", "ImplosionMessages")) writeBooleanConfig("toggles", "ImplosionMessages", true);
+ if (!hasKey("toggles", "HealMessages")) writeBooleanConfig("toggles", "HealMessages", true);
if (!hasKey("toggles", "PetColors")) writeBooleanConfig("toggles", "PetColors", false);
if (!hasKey("toggles", "DungeonTimer")) writeBooleanConfig("toggles", "DungeonTimer", false);
if (!hasKey("toggles", "BlockSlayer")) writeStringConfig("toggles", "BlockSlayer", "");
@@ -190,8 +193,6 @@ 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);
- if (!hasKey("toggles", "MidasStaffMessages")) writeBooleanConfig("toggles", "MidasStaffMessages", true);
- if (!hasKey("toggles", "HealMessages")) writeBooleanConfig("toggles", "HealMessages", true);
if (!hasKey("toggles", "CakeTimer")) writeBooleanConfig("toggles", "CakeTimer", false);
if (!hasKey("toggles", "LowHealthNotify")) writeBooleanConfig("toggles", "LowHealthNotify", false);
if (!hasKey("toggles", "LividSolver")) writeBooleanConfig("toggles", "LividSolver", false);
@@ -423,14 +424,15 @@ public class ConfigHandler {
ToggleCommand.aotdToggled = getBoolean("toggles", "AOTD");
ToggleCommand.lividDaggerToggled = getBoolean("toggles", "LividDagger");
ToggleCommand.sceptreMessages = getBoolean("toggles", "SceptreMessages");
+ ToggleCommand.midasStaffMessages = getBoolean("toggles", "MidasStaffMessages");
+ ToggleCommand.implosionMessages = getBoolean("toggles", "ImplosionMessages");
+ ToggleCommand.healMessages = getBoolean("toggles", "HealMessages");
ToggleCommand.petColoursToggled = getBoolean("toggles", "PetColors");
ToggleCommand.dungeonTimerToggled = getBoolean("toggles", "DungeonTimer");
ToggleCommand.golemAlertToggled = getBoolean("toggles", "GolemAlerts");
ToggleCommand.expertiseLoreToggled = getBoolean("toggles", "ExpertiseLore");
ToggleCommand.skill50DisplayToggled = getBoolean("toggles", "Skill50Display");
ToggleCommand.outlineTextToggled = getBoolean("toggles", "OutlineText");
- ToggleCommand.midasStaffMessages = getBoolean("toggles", "MidasStaffMessages");
- ToggleCommand.healMessages = getBoolean("toggles", "HealMessages");
ToggleCommand.cakeTimerToggled = getBoolean("toggles", "CakeTimer");
ToggleCommand.lowHealthNotifyToggled = getBoolean("toggles", "LowHealthNotify");
ToggleCommand.lividSolverToggled = getBoolean("toggles", "LividSolver");