mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 19:50:30 +00:00
Delete invalid jar automatically
This commit is contained in:
parent
5b59ad98d5
commit
ad1b687f07
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue