From a3e49e7771a4634a3b1a1ac605c5a6339b3c96f4 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 17 Aug 2024 09:14:19 +0200 Subject: code cleanup --- .../hannibal2/skyhanni/features/fishing/trophy/TrophyFishManager.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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>, - neuData: MutableList>, + savedFishes: Map>, + neuData: List>, ) { for ((name, rarity, newValue) in neuData) { val saved = savedFishes[name] ?: continue -- cgit