aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-08-17 09:14:19 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-08-17 09:14:19 +0200
commita3e49e7771a4634a3b1a1ac605c5a6339b3c96f4 (patch)
tree53a3a8008acc183c1a1b27afdefe148330c63556 /src
parentc0da35d356b721b90cbdceed7babda309ea0ab7f (diff)
downloadskyhanni-a3e49e7771a4634a3b1a1ac605c5a6339b3c96f4.tar.gz
skyhanni-a3e49e7771a4634a3b1a1ac605c5a6339b3c96f4.tar.bz2
skyhanni-a3e49e7771a4634a3b1a1ac605c5a6339b3c96f4.zip
code cleanup
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishManager.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishManager.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishManager.kt
index 9f3e83f4e..4b91b6240 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/TrophyFishManager.kt
@@ -7,7 +7,6 @@ import at.hannibal2.skyhanni.data.jsonobjects.repo.TrophyFishJson
import at.hannibal2.skyhanni.events.NeuProfileDataLoadedEvent
import at.hannibal2.skyhanni.events.RepositoryReloadEvent
import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule
-import at.hannibal2.skyhanni.test.command.ErrorManager
import at.hannibal2.skyhanni.utils.ChatUtils
import net.minecraft.event.HoverEvent
import net.minecraft.util.ChatComponentText
@@ -65,8 +64,8 @@ object TrophyFishManager {
}
private fun updateFromNeuPv(
- savedFishes: MutableMap<String, MutableMap<TrophyRarity, Int>>,
- neuData: MutableList<Triple<String, TrophyRarity, Int>>,
+ savedFishes: Map<String, MutableMap<TrophyRarity, Int>>,
+ neuData: List<Triple<String, TrophyRarity, Int>>,
) {
for ((name, rarity, newValue) in neuData) {
val saved = savedFishes[name] ?: continue