Jump to content

Recommended Posts

Posted

Take this with a grain of salt because I am not a programer but after a quick glance i see a lot of MD5 Mismatch which is set to null in stead of the MD5 that the files would generate.

and the has a Yaml File has error's badly formed

mapping values are not allowed here

in "<reader>", line 11, column 75:

... tion.protocol) ? "https://ssl." : "http://www.");

this may help to ^

just to reiterate I am not a programer so all info may be wrong

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...