Force monster targetting to be restricted to arena players.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user