Remove unused boss damage method.

This commit is contained in:
Andreas Troelsen 2013-03-21 23:33:26 +01:00
parent 09d9605bb2
commit f9a1e6e123

View File

@ -497,10 +497,6 @@ public class ArenaListener
else if (damagee instanceof Snowman && event.getCause() == DamageCause.MELTING) {
event.setCancelled(true);
}
// Boss
else if (monsters.getBossMonsters().contains(damagee)) {
onBossDamage(event, (LivingEntity) damagee, damager); // Now an emtpy method
}
// Regular monster
else if (monsters.getMonsters().contains(damagee)) {
onMonsterDamage(event, damagee, damager);
@ -575,10 +571,6 @@ public class ArenaListener
}
}
private void onBossDamage(EntityDamageEvent event, LivingEntity monster, Entity damager) {
//TODO useless method as of Entity Max Health API, maybe add in some stat tracking for leaderboards instead?
}
public void onEntityCombust(EntityCombustEvent event) {
if (monsters.getMonsters().contains(event.getEntity())) {
if (event instanceof EntityCombustByBlockEvent || event instanceof EntityCombustByEntityEvent) {