public static boolean checkUpdate() {
        print("Searching for client files...");
        print("Library files: " + client[4].list().length);
        
        if ((!client[0].exists()) || (!client[1].exists()) || (!client[2].exists()) || (!client[3].exists()) || ((!client[4].isDirectory()) || (client[4].list().length < 8))) {
            print("One or more files not found. \n Starting Update!");
            return false;
        } else {
            print("Client files succesfully detected! \n Checking client hash!");
            print(ShieldUtil.FileHash(MZLOptions.RootDir + "bin" + File.separator + "minecraft.jar"));
            if ((hashes[1].equals(ShieldUtil.FileHash(MZLOptions.RootDir + "bin" + File.separator + "minecraft.jar"))) && (Integer.parseInt(hashes[2].toString()) == ShieldUtil.FileSize(MZLOptions.RootDir + "bin" + File.separator + "minecraft.jar"))) {
                return true;
            } else {
                return false;
            }
        }
    }