diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-09-28 17:25:12 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-09-28 17:25:12 -0400 |
commit | 72e0768329adc83143d7a93c13761dbe89586fb5 (patch) | |
tree | 17e7632fa6a6a5ffb3d8ebd410dd9dda3610e432 | |
parent | 8aedd48bc175afbef395fcb735c352dffc0b6634 (diff) | |
download | SkyblockMod-72e0768329adc83143d7a93c13761dbe89586fb5.tar.gz SkyblockMod-72e0768329adc83143d7a93c13761dbe89586fb5.tar.bz2 SkyblockMod-72e0768329adc83143d7a93c13761dbe89586fb5.zip |
Fix issues with Yeti tracker
-rw-r--r-- | src/main/java/me/Danker/TheMod.java | 3 | ||||
-rw-r--r-- | src/main/java/me/Danker/commands/LootCommand.java | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/me/Danker/TheMod.java b/src/main/java/me/Danker/TheMod.java index f4fb082..7da75d3 100644 --- a/src/main/java/me/Danker/TheMod.java +++ b/src/main/java/me/Danker/TheMod.java @@ -1981,7 +1981,8 @@ public class TheMod List<String> scoreboard = ScoreboardHandler.getSidebarLines(); for (String s : scoreboard) { String sCleaned = ScoreboardHandler.cleanSB(s); - if (sCleaned.contains("Jerry's Workshop")) { + System.out.println(sCleaned); + if (sCleaned.contains("Jerry's Workshop") || sCleaned.contains("Jerry Pond")) { if (lc.yetiSCs != -1) { lc.yetiSCs++; } diff --git a/src/main/java/me/Danker/commands/LootCommand.java b/src/main/java/me/Danker/commands/LootCommand.java index b69f6fa..f090269 100644 --- a/src/main/java/me/Danker/commands/LootCommand.java +++ b/src/main/java/me/Danker/commands/LootCommand.java @@ -196,8 +196,8 @@ public class LootCommand extends CommandBase { public static int frostyTheSnowmansSession = 0; public static int grinchesSession = 0; public static int yetisSession = 0; - public static double yetiTimeSession = 0; - public static int yetiSCsSession = 0; + public static double yetiTimeSession = -1; + public static int yetiSCsSession = -1; // Fishing Festival public static int nurseSharksSession = 0; public static int blueSharksSession = 0; |