aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-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