public MapView getCommandMap() {
        MapView map = null;
        Short mapId = (short) getData().optInt(COMMAND_MAP_ID);
        if (mapId == null) {
            map = Bukkit.getServer().createMap(Bukkit.getServer().getWorlds().get(0));
            getData().put(COMMAND_MAP_ID, map.getId());
        } else {
            map = Bukkit.getServer().getMap(mapId);
            if (map == null) {
                getData().remove(COMMAND_MAP_ID);
                Logging.warning("Commmand map id for player pointed to an invalid map");
                map = getCommandMap();
            }
        }
        return map;
    }