diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-08-28 19:55:12 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-08-28 19:55:12 -0400 |
commit | c2b78d92fb87b6e71a648252610dc66851dea113 (patch) | |
tree | 00ab4c7510e7824e72d4f0e4b3131e367f7e1368 /src/main/java/me/Danker/handlers | |
parent | 4a48ac021fa23aadb88f8f690880e6d58538fa0b (diff) | |
download | SkyblockMod-c2b78d92fb87b6e71a648252610dc66851dea113.tar.gz SkyblockMod-c2b78d92fb87b6e71a648252610dc66851dea113.tar.bz2 SkyblockMod-c2b78d92fb87b6e71a648252610dc66851dea113.zip |
Add time/creatures since Yeti
Creatures since Yeti should only increment when inside Jerry's Workshop
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r-- | src/main/java/me/Danker/handlers/ConfigHandler.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java index aa6f5ba..b388839 100644 --- a/src/main/java/me/Danker/handlers/ConfigHandler.java +++ b/src/main/java/me/Danker/handlers/ConfigHandler.java @@ -250,6 +250,8 @@ public class ConfigHandler { if (!hasKey("fishing", "snowman")) writeIntConfig("fishing", "snowman", 0); if (!hasKey("fishing", "grinch")) writeIntConfig("fishing", "grinch", 0); if (!hasKey("fishing", "yeti")) writeIntConfig("fishing", "yeti", 0); + if (!hasKey("fishing", "yetiTime")) writeDoubleConfig("fishing", "yetiTime", -1); + if (!hasKey("fishing", "yetiSC")) writeIntConfig("fishing", "yetiSC", -1); // Dungeons if (!hasKey("catacombs", "recombobulator")) writeIntConfig("catacombs", "recombobulator", 0); @@ -364,6 +366,8 @@ public class ConfigHandler { lc.frostyTheSnowmans = getInt("fishing", "snowman"); lc.grinches = getInt("fishing", "grinch"); lc.yetis = getInt("fishing", "yeti"); + lc.yetiTime = getDouble("fishing", "yetiTime"); + lc.yetiSCs = getInt("fishing", "yetiSC"); // Dungeons lc.recombobulators = getInt("catacombs", "recombobulator"); |