aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers/ConfigHandler.java
diff options
context:
space:
mode:
authorCuzImClicks <bruno778.whiteelfie@gmail.com>2021-03-10 16:42:00 +0100
committerCuzImClicks <bruno778.whiteelfie@gmail.com>2021-03-10 16:42:00 +0100
commita4710ad7f27826c02cd6421c860ed4517b854741 (patch)
tree47ee059d2e9daaeb4ca221d8ec999bb523dfb3d8 /src/main/java/me/Danker/handlers/ConfigHandler.java
parent689af426ff8203ea1d1b64420004b6b015cd2203 (diff)
parentdbad2bfbec9a2b1c8ac72ff0516a1a3d543339d6 (diff)
downloadSkyblockMod-a4710ad7f27826c02cd6421c860ed4517b854741.tar.gz
SkyblockMod-a4710ad7f27826c02cd6421c860ed4517b854741.tar.bz2
SkyblockMod-a4710ad7f27826c02cd6421c860ed4517b854741.zip
Merge remote-tracking branch 'origin/development' into development
# Conflicts: # src/main/java/me/Danker/commands/ToggleCommand.java # src/main/java/me/Danker/gui/DankerGui.java
Diffstat (limited to 'src/main/java/me/Danker/handlers/ConfigHandler.java')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index 23ccb09..892f231 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -90,7 +90,7 @@ public class ConfigHandler {
}
return true;
}
-
+
public static void writeIntConfig(String category, String key, int value) {
config = new Configuration(new File(file));
try {
@@ -235,7 +235,8 @@ public class ConfigHandler {
ToggleCommand.healMessages = initBoolean("toggles", "HealMessages", true);
ToggleCommand.cooldownMessages = initBoolean("toggles", "CooldownMessages", true);
ToggleCommand.manaMessages = initBoolean("toggles", "ManaMessages", true);
- //Dungeons
+ ToggleCommand.killComboMessages = initBoolean("toggles", "KillComboMessages", true);
+ // Dungeons
ToggleCommand.dungeonTimerToggled = initBoolean("toggles", "DungeonTimer", false);
ToggleCommand.lowHealthNotifyToggled = initBoolean("toggles", "LowHealthNotify", false);
ToggleCommand.lividSolverToggled = initBoolean("toggles", "LividSolver", false);
@@ -255,6 +256,7 @@ public class ConfigHandler {
ToggleCommand.waterToggled = initBoolean("toggles", "WaterPuzzle", false);
ToggleCommand.ticTacToeToggled = initBoolean("toggles", "TicTacToePuzzle", false);
ToggleCommand.boulderToggled = initBoolean("toggles", "BoulderPuzzle", false);
+ ToggleCommand.silverfishToggled = initBoolean("toggles", "SilverfishPuzzle", false);
ToggleCommand.startsWithToggled = initBoolean("toggles", "StartsWithTerminal", false);
ToggleCommand.selectAllToggled = initBoolean("toggles", "SelectAllTerminal", false);
ToggleCommand.clickInOrderToggled = initBoolean("toggles", "ClickInOrderTerminal", false);
@@ -513,6 +515,7 @@ public class ConfigHandler {
ClickInOrderSolver.CLICK_IN_ORDER_NEXT_TO_NEXT = initInt("colors", "clickInOrderNextToNext", 0x0BEFE7);
BoulderSolver.BOULDER_COLOUR = initInt("colors", "boulder", 0x197F19);
BoulderSolver.BOULDER_ARROW_COLOUR = initInt("colors", "boulderArrow", 0x006000);
+ SilverfishSolver.SILVERFISH_LINE_COLOUR = initInt("colors", "silverfishLine", 0x40FF40);
// Commands
if (!hasKey("commands", "reparty")) writeBooleanConfig("commands", "reparty", false);