Delete invalid jar automatically
This commit is contained in:
parent
5b59ad98d5
commit
ad1b687f07
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user