Add optional per-arena exit warp.

This commit is contained in:
garbagemule
2013-08-01 16:13:24 +02:00
parent f43293a376
commit dbe5f4d20f
5 changed files with 23 additions and 6 deletions
@@ -826,6 +826,7 @@ public class ArenaImpl implements Arena
// If there's no player stored, create a new one!
if (mp == null) {
if (region.getExitWarp() != null) loc = region.getExitWarp();
mp = new PlayerData(p, loc);
playerData.put(p, mp);
}