aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-16 19:28:29 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-16 19:28:29 +0200
commit964bb161153890550af64d3a02173c4a6555a70d (patch)
tree346f9ecfea80fe4f7ed18cd8130b9f10b0066d7f /src
parent8e6c7e50ad1f02ef369152223a60f670012700e1 (diff)
downloadskyhanni-964bb161153890550af64d3a02173c4a6555a70d.tar.gz
skyhanni-964bb161153890550af64d3a02173c4a6555a70d.tar.bz2
skyhanni-964bb161153890550af64d3a02173c4a6555a70d.zip
fixed bug that causes fishing timer and rare sea creature warning to break fully.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt
index 1fcca06f2..9e54fef06 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt
@@ -32,6 +32,7 @@ class SeaCreatureManager {
@SubscribeEvent
fun onRepoReload(event: RepositoryReloadEvent) {
seaCreatureMap.clear()
+ allFishingMobs.clear()
var counter = 0
try {
@@ -52,6 +53,7 @@ class SeaCreatureManager {
counter++
}
}
+ SeaCreatureManager.allFishingMobs = allFishingMobs
LorenzUtils.debug("Loaded $counter sea creatures from repo")
} catch (e: Exception) {