summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/fishing
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-04-18 22:33:59 +0200
committerGitHub <noreply@github.com>2024-04-18 22:33:59 +0200
commit3fdbf7a2b943fd5fe95ffa9766ef631ca75c090d (patch)
tree293e81a8cf29314b508999975f1507b279284bc8 /src/main/java/at/hannibal2/skyhanni/features/fishing
parent9ed4a9462f0e494001cbe470477624c3dd73053a (diff)
downloadskyhanni-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.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/trophy/OdgerWaypoint.kt2
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