From 28918c18394210daa121d929d3bfbb48e22a2536 Mon Sep 17 00:00:00 2001 From: Kimbrian Marshall Date: Fri, 27 Oct 2023 01:13:28 +0700 Subject: fix(fire-veil): hide particles from new fire veil animation (#630) --- .../skyhanni/features/itemabilities/FireVeilWandParticles.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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 499004f64..455efcef0 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt @@ -27,8 +27,7 @@ class FireVeilWandParticles { if (!LorenzUtils.inSkyBlock) return if (config.display == 0) return if (System.currentTimeMillis() > lastClick + 5_500) return - - if (event.type == EnumParticleTypes.FLAME && event.count == 1 && event.speed == 0f && event.offset.isZero()) { + if (event.type == EnumParticleTypes.FLAME && event.speed == 0.55f) { event.isCanceled = true } } @@ -62,4 +61,4 @@ class FireVeilWandParticles { event.move(3, "itemAbilities.fireVeilWandDisplayColor", "itemAbilities.fireVeilWands.displayColor") event.move(3, "itemAbilities.fireVeilWandDisplay", "itemAbilities.fireVeilWands.display") } -} \ No newline at end of file +} -- cgit