aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/itemabilities
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-04-09 20:49:52 +0200
committerGitHub <noreply@github.com>2024-04-09 20:49:52 +0200
commit58f1fec99d532c517aaf309772874ad5629ea39b (patch)
treee4c52e21f7bbbc6920253584680dae33770693d1 /src/main/java/at/hannibal2/skyhanni/features/itemabilities
parent259acef3cffac049f20c528cb21740e0ec394f3e (diff)
downloadskyhanni-58f1fec99d532c517aaf309772874ad5629ea39b.tar.gz
skyhanni-58f1fec99d532c517aaf309772874ad5629ea39b.tar.bz2
skyhanni-58f1fec99d532c517aaf309772874ad5629ea39b.zip
Backend: Switch from LorenzUtils.inDungeons to DungeonAPI.inDungeon() (#1378)
Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/itemabilities')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt
index d8e9fdd03..2787215f0 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/abilitycooldown/ItemAbility.kt
@@ -127,7 +127,7 @@ enum class ItemAbility(
private fun ItemAbility.getMageCooldownReduction(): Double? {
if (ignoreMageCooldownReduction) return null
- if (!LorenzUtils.inDungeons) return null
+ if (!DungeonAPI.inDungeon()) return null
if (DungeonAPI.playerClass != DungeonAPI.DungeonClass.MAGE) return null
var abilityCooldownMultiplier = 1.0