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