IceBlast death message

Fixes iceblast death message.
This commit is contained in:
jedk1 2015-09-26 02:51:42 +01:00
parent b7a0dde782
commit 4ed98a3414

View file

@ -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);