Skip to content

Commit

Permalink
Fixed Crit Multiplier activating when it shouldn't
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Oct 4, 2021
1 parent d724459 commit 9c06f70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class EffectCritMultiplier : Effect("crit_multiplier") {
event: EntityDamageByEntityEvent,
config: JSONConfig
) {
if (attacker.velocity.y > 0) {
if (attacker.velocity.y >= 0) {
return
}
event.damage *= config.getDouble("multiplier")
Expand Down

0 comments on commit 9c06f70

Please sign in to comment.