mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2025-01-09 19:17:35 +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) {
|
if (sfItem != null) {
|
||||||
return sfItem.getId().equalsIgnoreCase(getItemId());
|
return sfItem.getId().equalsIgnoreCase(getItemId());
|
||||||
}
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Exception | LinkageError e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
P.p.errorLog("Could not check Slimefun for Item ID");
|
P.p.errorLog("Could not check Slimefun for Item ID");
|
||||||
BConfig.hasSlimefun = false;
|
BConfig.hasSlimefun = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user