Delete invalid jar automatically

This commit is contained in:
libraryaddict 2021-04-26 11:14:52 +12:00
parent 5b59ad98d5
commit ad1b687f07

View File

@ -349,8 +349,10 @@ public class LibsPremium {
foundBetter = true;
break;
}
catch (Exception e) {
} catch (ClassNotFoundException e) {
DisguiseUtilities.getLogger().info("Ew, error about invalid Libs Disguises jar. Deleting " + f.getName());
f.delete();
} catch (Throwable e) {
e.printStackTrace();
}
}