diff options
| author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-04-18 22:33:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-18 22:33:59 +0200 |
| commit | 3fdbf7a2b943fd5fe95ffa9766ef631ca75c090d (patch) | |
| tree | 293e81a8cf29314b508999975f1507b279284bc8 /src/main/java/at/hannibal2/skyhanni/features/fishing | |
| parent | 9ed4a9462f0e494001cbe470477624c3dd73053a (diff) | |
| download | skyhanni-3fdbf7a2b943fd5fe95ffa9766ef631ca75c090d.tar.gz skyhanni-3fdbf7a2b943fd5fe95ffa9766ef631ca75c090d.tar.bz2 skyhanni-3fdbf7a2b943fd5fe95ffa9766ef631ca75c090d.zip | |
Cleanup (#1485)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/fishing')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/TotemOfCorruption.kt | 1 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/OdgerWaypoint.kt | 2 |
2 files changed, 1 insertions, 2 deletions
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 |
