Fix players being allowed to recall through worlds
This commit is contained in:
parent
841a44b8a6
commit
dddfb4420c
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user