Fixed warping to lobby from outside the region.
This commit is contained in:
1 parent
fb678cc89f
commit
6d53b7c193
3 files changed
+2
-2
No files matched your search
@@ -644,7 +644,7 @@ public class MAListener implements ArenaListener
|
||||
}
|
||||
else if (arena.inRegion(to))
|
||||
{
|
||||
if (isWarp(from) || to.equals(arena.locations.get(p)))
|
||||
if (isWarp(from) || isWarp(to) || to.equals(arena.locations.get(p)))
|
||||
return;
|
||||
|
||||
MAUtils.tellPlayer(p, Msg.WARP_TO_ARENA);
|
||||
|
||||
Reference in new issue
Block a user