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; foundBetter = true;
break; break;
} } catch (ClassNotFoundException e) {
catch (Exception e) { DisguiseUtilities.getLogger().info("Ew, error about invalid Libs Disguises jar. Deleting " + f.getName());
f.delete();
} catch (Throwable e) {
e.printStackTrace(); e.printStackTrace();
} }
} }