From f9a1e6e12347679114fc8aa4c8c4718c17b983c2 Mon Sep 17 00:00:00 2001 From: Andreas Troelsen Date: Thu, 21 Mar 2013 23:33:26 +0100 Subject: [PATCH] Remove unused boss damage method. --- src/com/garbagemule/MobArena/ArenaListener.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/com/garbagemule/MobArena/ArenaListener.java b/src/com/garbagemule/MobArena/ArenaListener.java index c1d9bfa..74296de 100644 --- a/src/com/garbagemule/MobArena/ArenaListener.java +++ b/src/com/garbagemule/MobArena/ArenaListener.java @@ -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) {