mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Bleed actually doesn't trigger iframes now
This commit is contained in:
parent
3edc0bf63f
commit
6428c65720
@ -52,7 +52,7 @@ public class BleedTimerTask extends BukkitRunnable {
|
|||||||
|
|
||||||
// Never kill with Bleeding
|
// Never kill with Bleeding
|
||||||
if (player.getHealth() - damage > 0) {
|
if (player.getHealth() - damage > 0) {
|
||||||
CombatUtils.dealDamage(player, damage);
|
CombatUtils.dealNoInvulnerabilityTickDamage(entity, damage, null);
|
||||||
ParticleEffectUtils.playBleedEffect(entity);
|
ParticleEffectUtils.playBleedEffect(entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ public class BleedTimerTask extends BukkitRunnable {
|
|||||||
bleedIterator.remove();
|
bleedIterator.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
CombatUtils.dealDamage(entity, damage);
|
CombatUtils.dealNoInvulnerabilityTickDamage(entity, damage, null);
|
||||||
ParticleEffectUtils.playBleedEffect(entity);
|
ParticleEffectUtils.playBleedEffect(entity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user