public void setup() {
   arenas.clear();
   Set<String> arenas = SettingsManager.getInstance().getArenas().getKeys(false);
   for (String arena : arenas) {
     if (!arena.equals("main-spawn")) this.arenas.add(new Arena(arena));
   }
 }
 public void setup() {
   mainSpawn = null;
   YamlConfiguration arenas = SettingsManager.getInstance().getArenas();
   try {
     setMainSpawn(
         new Location(
             Bukkit.getWorld(arenas.getString("main-spawn.world")),
             arenas.getInt("main-spawn.x"),
             arenas.getInt("main-spawn.y"),
             arenas.getInt("main-spawn.z")));
   } catch (NullPointerException e) {
     setMainSpawn(null);
   } catch (IllegalArgumentException iae) {
     setMainSpawn(null);
   }
 }