aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2022-05-11 19:20:16 -0400
committerbowser0000 <bowser0000@gmail.com>2022-05-11 19:20:16 -0400
commit7c0cf9b290768c136420cb3b79f1933daa24dbd2 (patch)
tree95a24483520abed39a1d12687ee5137e28e5c98b
parentb0954c47d499b922ca006a18a4331c8e1ae366b5 (diff)
downloadSkyblockMod-7c0cf9b290768c136420cb3b79f1933daa24dbd2.tar.gz
SkyblockMod-7c0cf9b290768c136420cb3b79f1933daa24dbd2.tar.bz2
SkyblockMod-7c0cf9b290768c136420cb3b79f1933daa24dbd2.zip
Fix jawbus session default values
-rw-r--r--src/main/java/me/Danker/commands/ResetLootCommand.java4
-rw-r--r--src/main/java/me/Danker/features/loot/FishingTracker.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/me/Danker/commands/ResetLootCommand.java b/src/main/java/me/Danker/commands/ResetLootCommand.java
index 9256394..9ccef33 100644
--- a/src/main/java/me/Danker/commands/ResetLootCommand.java
+++ b/src/main/java/me/Danker/commands/ResetLootCommand.java
@@ -289,8 +289,8 @@ public class ResetLootCommand extends CommandBase {
FishingTracker.taurusesSession = 0;
FishingTracker.thundersSession = 0;
FishingTracker.lordJawbusesSession = 0;
- FishingTracker.jawbusTimeSession = 0;
- FishingTracker.jawbusSCsSession = 0;
+ FishingTracker.jawbusTimeSession = -1;
+ FishingTracker.jawbusSCsSession = -1;
ConfigHandler.deleteCategory("fishing");
ConfigHandler.reloadConfig();
}
diff --git a/src/main/java/me/Danker/features/loot/FishingTracker.java b/src/main/java/me/Danker/features/loot/FishingTracker.java
index fb4fdbc..1690793 100644
--- a/src/main/java/me/Danker/features/loot/FishingTracker.java
+++ b/src/main/java/me/Danker/features/loot/FishingTracker.java
@@ -125,8 +125,8 @@ public class FishingTracker {
public static int taurusesSession = 0;
public static int thundersSession = 0;
public static int lordJawbusesSession = 0;
- public static double jawbusTimeSession = 0;
- public static int jawbusSCsSession = 0;
+ public static double jawbusTimeSession = -1;
+ public static int jawbusSCsSession = -1;
@SubscribeEvent
public void onChat(ClientChatReceivedEvent event) {