diff options
author | Walker Selby <git@walkerselby.com> | 2023-10-20 19:32:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-20 20:32:09 +0200 |
commit | 3dfb81b9d5aefce9a2448d5e9e1533a28b16f11e (patch) | |
tree | 325914b6a03592e2cfe2249216b2b631401b5736 /src/main/java/at/hannibal2/skyhanni/features/itemabilities | |
parent | c233f06f5d4c7b054eb7e34e3af51ee02a01387c (diff) | |
download | skyhanni-3dfb81b9d5aefce9a2448d5e9e1533a28b16f11e.tar.gz skyhanni-3dfb81b9d5aefce9a2448d5e9e1533a28b16f11e.tar.bz2 skyhanni-3dfb81b9d5aefce9a2448d5e9e1533a28b16f11e.zip |
Internal Changes: getInternalName Pt 2 (#548)
Internal Changes: getInternalName Pt 2 #548
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/itemabilities')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt index 7501f8d70..28b0d1d1f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt @@ -6,7 +6,7 @@ import at.hannibal2.skyhanni.data.ClickType import at.hannibal2.skyhanni.events.BlockClickEvent import at.hannibal2.skyhanni.events.LorenzRenderWorldEvent import at.hannibal2.skyhanni.events.ReceiveParticleEvent -import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName_old +import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzUtils.toChromaColor import at.hannibal2.skyhanni.utils.RenderUtils @@ -35,9 +35,9 @@ class FireVeilWandParticles { if (!LorenzUtils.inSkyBlock) return if (event.clickType == ClickType.RIGHT_CLICK) { - val internalName = event.itemInHand?.getInternalName_old() ?: return + val internalName = event.itemInHand?.getInternalName() ?: return - if (internalName == "FIRE_VEIL_WAND") { + if (internalName.equals("FIRE_VEIL_WAND")) { lastClick = System.currentTimeMillis() } } |