aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-07 01:25:02 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-07 01:25:02 +0100
commit20eef122b2e0d51917073f161f2b8d3d630a34ee (patch)
tree2ca22383bfc2430173173d67fc17511391b36554
parentc9a02bb902e177e28cb03ed96c208ab99a39799d (diff)
downloadskyhanni-20eef122b2e0d51917073f161f2b8d3d630a34ee.tar.gz
skyhanni-20eef122b2e0d51917073f161f2b8d3d630a34ee.tar.bz2
skyhanni-20eef122b2e0d51917073f161f2b8d3d630a34ee.zip
removed optional nullable extension function
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/FishingAPI.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingAPI.kt
index 239e2a9aa..3be2e00b8 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingAPI.kt
@@ -86,9 +86,9 @@ object FishingAPI {
fun ItemStack.isFishingRod() = getInternalName().isFishingRod()
fun NEUInternalName.isFishingRod() = isLavaRod() || isWaterRod()
- fun NEUInternalName?.isLavaRod() = this in lavaRods
+ fun NEUInternalName.isLavaRod() = this in lavaRods
- fun NEUInternalName?.isWaterRod() = this in waterRods
+ fun NEUInternalName.isWaterRod() = this in waterRods
fun ItemStack.isBait(): Boolean = stackSize == 1 && getItemCategoryOrNull() == ItemCategory.FISHING_BAIT