From 3fdbf7a2b943fd5fe95ffa9766ef631ca75c090d Mon Sep 17 00:00:00 2001 From: Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> Date: Thu, 18 Apr 2024 22:33:59 +0200 Subject: Cleanup (#1485) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../java/at/hannibal2/skyhanni/features/fishing/TotemOfCorruption.kt | 1 - .../java/at/hannibal2/skyhanni/features/fishing/trophy/OdgerWaypoint.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/fishing') diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/TotemOfCorruption.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/TotemOfCorruption.kt index b0ff26ef0..3551898cd 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/TotemOfCorruption.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/TotemOfCorruption.kt @@ -134,7 +134,6 @@ class TotemOfCorruption { } } - private fun createDisplay() = buildList { val totem = getTotemToShow() ?: return@buildList add("§5§lTotem of Corruption") diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/OdgerWaypoint.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/OdgerWaypoint.kt index ee9c4b44b..8337e367d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/OdgerWaypoint.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/OdgerWaypoint.kt @@ -27,7 +27,7 @@ class OdgerWaypoint { fun onTick(event: LorenzTickEvent) { if (!isEnabled() || !event.isMod(10)) return trophyFishInInventory = InventoryUtils.getItemsInOwnInventory() - .any { it.getItemCategoryOrNull() == ItemCategory.TROPHY_FISH } + .any { it.getItemCategoryOrNull() == ItemCategory.TROPHY_FISH } } @SubscribeEvent -- cgit