diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-11-02 13:31:50 -0500 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-11-02 13:31:50 -0500 |
commit | 8ab18f2053a0a903bf3d283c2111fc893d4decda (patch) | |
tree | b3eed7d920214af5c8ed1dc38b2d5ddf958f33e6 /src/main/java/me/Danker/handlers/ConfigHandler.java | |
parent | 056455031cbe8005a2172d6607b84efc453ac0ea (diff) | |
download | SkyblockMod-8ab18f2053a0a903bf3d283c2111fc893d4decda.tar.gz SkyblockMod-8ab18f2053a0a903bf3d283c2111fc893d4decda.tar.bz2 SkyblockMod-8ab18f2053a0a903bf3d283c2111fc893d4decda.zip |
Add spooky fishing, fix fishing detection and bug fixes
Minimize repetition by moving things to increaseSeaCreatures()
Add Wither Skeleton to trivia question answer
Diffstat (limited to 'src/main/java/me/Danker/handlers/ConfigHandler.java')
-rw-r--r-- | src/main/java/me/Danker/handlers/ConfigHandler.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java index 86d2ccd..2b6c0f7 100644 --- a/src/main/java/me/Danker/handlers/ConfigHandler.java +++ b/src/main/java/me/Danker/handlers/ConfigHandler.java @@ -273,6 +273,12 @@ public class ConfigHandler { if (!hasKey("fishing", "blueShark")) writeIntConfig("fishing", "blueShark", 0); if (!hasKey("fishing", "tigerShark")) writeIntConfig("fishing", "tigerShark", 0); if (!hasKey("fishing", "greatWhiteShark")) writeIntConfig("fishing", "greatWhiteShark", 0); + // Spooky Fishing + if (!hasKey("fishing", "scarecrow")) writeIntConfig("fishing", "scarecrow", 0); + if (!hasKey("fishing", "nightmare")) writeIntConfig("fishing", "nightmare", 0); + if (!hasKey("fishing", "werewolf")) writeIntConfig("fishing", "werewolf", 0); + if (!hasKey("fishing", "phantomFisher")) writeIntConfig("fishing", "phantomFisher", 0); + if (!hasKey("fishing", "grimReaper")) writeIntConfig("fishing", "grimReaper", 0); // Dungeons if (!hasKey("catacombs", "recombobulator")) writeIntConfig("catacombs", "recombobulator", 0); @@ -455,6 +461,12 @@ public class ConfigHandler { lc.blueSharks = getInt("fishing", "blueShark"); lc.tigerSharks = getInt("fishing", "tigerShark"); lc.greatWhiteSharks = getInt("fishing", "greatWhiteShark"); + // Spooky Fishing + lc.scarecrows = getInt("fishing", "scarecrow"); + lc.nightmares = getInt("fishing", "nightmare"); + lc.werewolfs = getInt("fishing", "nightmare"); + lc.phantomFishers = getInt("fishing", "phantomFisher"); + lc.grimReapers = getInt("fishing", "grimReaper"); // Dungeons lc.recombobulators = getInt("catacombs", "recombobulator"); |