mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2025-01-08 19:07:36 +01:00
Avoid catching any Throwables
This commit is contained in:
parent
92cc4920ef
commit
4d01fe4b91
@ -25,7 +25,7 @@ public class SlimefunPluginItem extends PluginItem {
|
||||
if (sfItem != null) {
|
||||
return sfItem.getId().equalsIgnoreCase(getItemId());
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
} catch (Exception | LinkageError e) {
|
||||
e.printStackTrace();
|
||||
P.p.errorLog("Could not check Slimefun for Item ID");
|
||||
BConfig.hasSlimefun = false;
|
||||
|
Loading…
Reference in New Issue
Block a user