public static String[] getMaps() {
		File file = new File(CFG.DIR, "maps");
		if (!file.exists() || !file.isDirectory()) {
			file.delete();
			file.mkdir();
		}
		String[] names = new String[file.list().length];
		
		for (int i = 0; i < names.length; i++) {
			names[i] = file.list()[i].substring(0, file.list()[i].lastIndexOf("."));
		}
		
		return names;
	}