Fix players being allowed to recall through worlds

This commit is contained in:
AlexTheCoder 2016-07-28 21:05:25 -04:00
parent 841a44b8a6
commit dddfb4420c

View File

@ -92,6 +92,9 @@ public class Recall extends Skill
LinkedList<Double> health = _healthMap.remove(player);
if (health == null)
return;
if (!player.getWorld().equals(locs.getLast().getWorld()))
return;
Factory.runSync(() -> {
if (player.isDead())