Bleed actually doesn't trigger iframes now

This commit is contained in:
nossr50 2019-01-23 12:28:30 -08:00
parent 3edc0bf63f
commit 6428c65720

View File

@ -52,7 +52,7 @@ public class BleedTimerTask extends BukkitRunnable {
// Never kill with Bleeding
if (player.getHealth() - damage > 0) {
CombatUtils.dealDamage(player, damage);
CombatUtils.dealNoInvulnerabilityTickDamage(entity, damage, null);
ParticleEffectUtils.playBleedEffect(entity);
}
@ -73,7 +73,7 @@ public class BleedTimerTask extends BukkitRunnable {
bleedIterator.remove();
}
CombatUtils.dealDamage(entity, damage);
CombatUtils.dealNoInvulnerabilityTickDamage(entity, damage, null);
ParticleEffectUtils.playBleedEffect(entity);
}
}