diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-09 12:54:18 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-09 12:54:18 +0200 |
| commit | 9e3d64fe033ddce0f0ab168e3cb3b6a6bcf08bcb (patch) | |
| tree | df1227fc031cb3dec6b3abbcbb8e4a21731d7e22 /src/main/java/at/hannibal2/skyhanni/features/slayer | |
| parent | c14fda47fd955f26a3d4b9d913b4580a5c5b016b (diff) | |
| download | skyhanni-9e3d64fe033ddce0f0ab168e3cb3b6a6bcf08bcb.tar.gz skyhanni-9e3d64fe033ddce0f0ab168e3cb3b6a6bcf08bcb.tar.bz2 skyhanni-9e3d64fe033ddce0f0ab168e3cb3b6a6bcf08bcb.zip | |
Using NEUInternalName in EstimatedItemValue
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/slayer')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/DetectBrokenHyperion.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/DetectBrokenHyperion.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/DetectBrokenHyperion.kt index d4e4df46f..6a50a3a9d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/DetectBrokenHyperion.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/DetectBrokenHyperion.kt @@ -8,6 +8,7 @@ import at.hannibal2.skyhanni.events.PurseChangeEvent import at.hannibal2.skyhanni.utils.InventoryUtils import at.hannibal2.skyhanni.utils.LorenzLogger import at.hannibal2.skyhanni.utils.LorenzUtils +import at.hannibal2.skyhanni.utils.NEUInternalName.Companion.asInternalName import at.hannibal2.skyhanni.utils.SkyBlockItemModifierUtils.getAbilityScrolls import net.minecraftforge.fml.common.eventhandler.SubscribeEvent @@ -25,7 +26,7 @@ class DetectBrokenHyperion { if (SlayerAPI.latestWrongAreaWarning + 5_000 > System.currentTimeMillis()) return val abilityScrolls = InventoryUtils.getItemInHand()?.getAbilityScrolls() ?: return - if (!abilityScrolls.contains("IMPLOSION_SCROLL")) return + if (!abilityScrolls.contains("IMPLOSION_SCROLL".asInternalName())) return val diff = System.currentTimeMillis() - SlayerAPI.getLatestProgressChangeTime() logger.log("diff: $diff") |
