Force monster targetting to be restricted to arena players.

This commit is contained in:
garbagemule 2014-03-17 04:15:59 +01:00
parent ca6ee0ea3e
commit 515fbc6a22

View File

@ -27,7 +27,7 @@ public class AbilityUtils
if (entity instanceof Creature) { if (entity instanceof Creature) {
LivingEntity target = ((Creature) entity).getTarget(); LivingEntity target = ((Creature) entity).getTarget();
if (target instanceof Player) { if (target instanceof Player && arena.inArena((Player) target)) {
return target; return target;
} }
} }