diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-11-25 22:55:50 -0500 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-11-25 22:55:50 -0500 |
commit | 8b78e680240a20d1b44c03f6bbcbb42b36a02827 (patch) | |
tree | 95b4ed1261812327d45b67788fbb246eeb3baae5 /src/main/java/me/Danker/handlers | |
parent | 4d0fb63db61deba0e0f1ce569c91e8b876abfa64 (diff) | |
download | SkyblockMod-8b78e680240a20d1b44c03f6bbcbb42b36a02827.tar.gz SkyblockMod-8b78e680240a20d1b44c03f6bbcbb42b36a02827.tar.bz2 SkyblockMod-8b78e680240a20d1b44c03f6bbcbb42b36a02827.zip |
Add low health alerts
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r-- | src/main/java/me/Danker/handlers/ConfigHandler.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java index 8cfc9bf..c5ede0c 100644 --- a/src/main/java/me/Danker/handlers/ConfigHandler.java +++ b/src/main/java/me/Danker/handlers/ConfigHandler.java @@ -193,6 +193,7 @@ public class ConfigHandler { 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); // Puzzle Solvers if (!hasKey("toggles", "ThreeManPuzzle")) writeBooleanConfig("toggles", "ThreeManPuzzle", false); @@ -425,6 +426,7 @@ public class ConfigHandler { 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"); // Puzzle Solvers ToggleCommand.threeManToggled = getBoolean("toggles", "ThreeManPuzzle"); |