public static void loadModsFromFolder(File directory) {
        if (!directory.isDirectory()) {
            return;
        }
        ArrayList<File> files = new ArrayList<File>();
        File[] filesAndDirectories = directory.listFiles();

        if (filesAndDirectories != null) {
            for (File file : filesAndDirectories) {
                if (file.isFile()) {
                    if (file.getName().endsWith(".zip")) {
                        TroveMods.addMod(file);
                        files.add(file);
                    }
                }
            }
        }
        Date date = new Date();
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("HH:mm:ss");
        String textLabel = simpleDateFormat.format(date) + " - " + files.size() + (files.size() == 1 ? " mod" : " mods") + " added!";
        setModLabel(textLabel);
    }