Skip to content

Commit

Permalink
fix(fire-veil): hide particles from new fire veil animation #630
Browse files Browse the repository at this point in the history
  • Loading branch information
cimbraien authored and hannibal002 committed Oct 27, 2023
1 parent 2ec3d23 commit 3fa10be
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down Expand Up @@ -62,4 +61,4 @@ class FireVeilWandParticles {
event.move(3, "itemAbilities.fireVeilWandDisplayColor", "itemAbilities.fireVeilWands.displayColor")
event.move(3, "itemAbilities.fireVeilWandDisplay", "itemAbilities.fireVeilWands.display")
}
}
}

0 comments on commit 3fa10be

Please sign in to comment.