9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2026-01-06 15:51:32 +00:00

Fixed Crit Multiplier activating when it shouldn't

This commit is contained in:
Auxilor
2021-10-04 10:51:24 +01:00
parent d7244594a0
commit 9c06f7013f

View File

@@ -13,7 +13,7 @@ class EffectCritMultiplier : Effect("crit_multiplier") {
event: EntityDamageByEntityEvent, event: EntityDamageByEntityEvent,
config: JSONConfig config: JSONConfig
) { ) {
if (attacker.velocity.y > 0) { if (attacker.velocity.y >= 0) {
return return
} }
event.damage *= config.getDouble("multiplier") event.damage *= config.getDouble("multiplier")