Avoid catching any Throwables

This commit is contained in:
TheBusyBiscuit 2021-05-03 12:28:03 +02:00
parent 92cc4920ef
commit 4d01fe4b91

View File

@ -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;