OK, so I need to find out which part of this code could be returning null, and how to stop it from doing so:
public static void getAllModPackResources() {
if (Main.isOffline) return;
Map<String, String> fileMap = new HashMap<String, String>();
for (String modPack : modpackMap.keySet()) {
File modPackDir = new File(GameUpdater.workDir, modPack);
modPackDir.mkdirs();
fileMap.putAll(getModPackResources(modPack, modPackDir));
}
downloadAllFiles(fileMap);
}
I believe this is causing my error.
All help appreciated :D