@SuppressWarnings("deprecation")
	public static void loadMatch(Match match){
		File mapFolder = match.getMap().getMapFolder();
		File dest = null;
		try {
			dest = new File(Bukkit.getWorldContainer().getCanonicalPath(), mapFolder.getName());
		} catch (IOException e1) {
			e1.printStackTrace();
		}
		World worldToPlay;
		if(!dest.exists()){
			dest.mkdir();
			try {
				FileUtils.copyFolder(mapFolder, dest);
			} catch (IOException e) {
				e.printStackTrace();
			}
			worldToPlay = new WorldCreator(mapFolder.getName()).createWorld();
		} else {
			worldToPlay = Bukkit.getWorld(dest.getName());
		}
		Main.setCurrentWorld(worldToPlay);
		worldToPlay.setSpawnLocation(0, 51, 0);
		BlockUtils.setRadious((int) (BlockUtils.getLastBlockInCircle(Match.getMatch().getCenter()).getX()-2));
		for(Player player : Bukkit.getOnlinePlayers()){
			player.teleport(worldToPlay.getSpawnLocation());
			player.setHealth(20);
			player.setGameMode(GameMode.CREATIVE);
		}
	}