private String[] getDisabled () {
        disabledMods.clear();
        if (folder.exists()) {
            for (String name : folder.list()) {
                if (name.toLowerCase().endsWith(".zip.disabled")) {
                    disabledMods.add(name);
                } else if (name.toLowerCase().endsWith(".jar.disabled")) {
                    disabledMods.add(name);
                } else if (name.toLowerCase().endsWith(".litemod.disabled")) {
                    disabledMods.add(name);
                }
            }
        }
        String[] enabledList = new String[disabledMods.size()];
        for (int i = 0; i < disabledMods.size(); i++) {
            enabledList[i] = disabledMods.get(i).replace(".zip.disabled", "").replace(".jar.disabled", "").replace(".litemod.disabled", "");
        }
        return enabledList;
    }