From 964bb161153890550af64d3a02173c4a6555a70d Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 16 Oct 2023 19:28:29 +0200 Subject: fixed bug that causes fishing timer and rare sea creature warning to break fully. --- .../java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni') 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) { -- cgit