aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-12-07 15:21:25 -0500
committerbowser0000 <bowser0000@gmail.com>2020-12-07 15:21:25 -0500
commitc92a8a13bd83a6d47f399b6845b6ac7885e6ab54 (patch)
treec0551255a10c58e0dcce2708b0ddf83b8b3511ba /src/main/java/me/Danker/handlers
parent15255eb3e2379e950b39011bacecbdf6eb4441a7 (diff)
downloadSkyblockMod-c92a8a13bd83a6d47f399b6845b6ac7885e6ab54.tar.gz
SkyblockMod-c92a8a13bd83a6d47f399b6845b6ac7885e6ab54.tar.bz2
SkyblockMod-c92a8a13bd83a6d47f399b6845b6ac7885e6ab54.zip
Change water puzzle solver to display from chat message
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index cbfb52b..23bd6c4 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -391,6 +391,8 @@ public class ConfigHandler {
if (!hasKey("locations", "cakeTimerY")) writeIntConfig("locations", "cakeTimerY", 30);
if (!hasKey("locations", "skillTrackerX")) writeIntConfig("locations", "skillTrackerX", 40);
if (!hasKey("locations", "skillTrackerY")) writeIntConfig("locations", "skillTrackerY", 50);
+ if (!hasKey("locations", "waterAnswerX")) writeIntConfig("locations", "waterAnswerX", 100);
+ if (!hasKey("locations", "waterAnswerY")) writeIntConfig("locations", "waterAnswerY", 100);
if (!hasKey("scales", "coordsScale")) writeDoubleConfig("scales", "coordsScale", 1);
if (!hasKey("scales", "displayScale")) writeDoubleConfig("scales", "displayScale", 1);
if (!hasKey("scales", "dungeonTimerScale")) writeDoubleConfig("scales", "dungeonTimerScale", 1);
@@ -398,6 +400,7 @@ public class ConfigHandler {
if (!hasKey("scales", "lividHpScale")) writeDoubleConfig("scales", "lividHpScale", 1);
if (!hasKey("scales", "cakeTimerScale")) writeDoubleConfig("scales", "cakeTimerScale", 1);
if (!hasKey("scales", "skillTrackerScale")) writeDoubleConfig("scales", "skillTrackerScale", 1);
+ if (!hasKey("scales", "waterAnswerScale")) writeDoubleConfig("scales", "waterAnswerScale", 1);
if (!hasKey("colors", "main")) writeStringConfig("colors", "main", EnumChatFormatting.GREEN.toString());
if (!hasKey("colors", "secondary")) writeStringConfig("colors", "secondary", EnumChatFormatting.DARK_GREEN.toString());
@@ -640,6 +643,8 @@ public class ConfigHandler {
MoveCommand.cakeTimerXY[1] = getInt("locations", "cakeTimerY");
MoveCommand.skillTrackerXY[0] = getInt("locations", "skillTrackerX");
MoveCommand.skillTrackerXY[1] = getInt("locations", "skillTrackerY");
+ MoveCommand.waterAnswerXY[0] = getInt("locations", "waterAnswerX");
+ MoveCommand.waterAnswerXY[1] = getInt("locations", "waterAnswerY");
ScaleCommand.coordsScale = getDouble("scales", "coordsScale");
ScaleCommand.displayScale = getDouble("scales", "displayScale");
@@ -648,7 +653,8 @@ public class ConfigHandler {
ScaleCommand.lividHpScale = getDouble("scales", "lividHpScale");
ScaleCommand.cakeTimerScale = getDouble("scales", "cakeTimerScale");
ScaleCommand.skillTrackerScale = getDouble("scales", "skillTrackerScale");
-
+ ScaleCommand.waterAnswerScale = getDouble("scales", "waterAnswerScale");
+
DankersSkyblockMod.MAIN_COLOUR = getString("colors", "main");
DankersSkyblockMod.SECONDARY_COLOUR = getString("colors", "secondary");
DankersSkyblockMod.DELIMITER_COLOUR = getString("colors", "delimiter");