mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-12 03:59:06 +00:00
IceBlast death message
Fixes iceblast death message.
This commit is contained in:
parent
b7a0dde782
commit
4ed98a3414
1 changed files with 4 additions and 2 deletions
|
@ -182,12 +182,14 @@ public class IceBlast {
|
||||||
PotionEffect effect = new PotionEffect(PotionEffectType.SLOW, 70, 2);
|
PotionEffect effect = new PotionEffect(PotionEffectType.SLOW, 70, 2);
|
||||||
new TempPotionEffect(entity, effect);
|
new TempPotionEffect(entity, effect);
|
||||||
bPlayer.slow(10);
|
bPlayer.slow(10);
|
||||||
entity.damage(damage, player);
|
//entity.damage(damage, player);
|
||||||
|
GeneralMethods.damageEntity(player, entity, damage, "IceBlast");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
PotionEffect effect = new PotionEffect(PotionEffectType.SLOW, 70, 2);
|
PotionEffect effect = new PotionEffect(PotionEffectType.SLOW, 70, 2);
|
||||||
new TempPotionEffect(entity, effect);
|
new TempPotionEffect(entity, effect);
|
||||||
entity.damage(damage, player);
|
//entity.damage(damage, player);
|
||||||
|
GeneralMethods.damageEntity(player, entity, damage, "IceBlast");
|
||||||
}
|
}
|
||||||
AirMethods.breakBreathbendingHold(entity);
|
AirMethods.breakBreathbendingHold(entity);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue