Fixed an error

This commit is contained in:
GB6 2019-03-19 11:55:25 +01:00
parent 8306b51842
commit a05c9941f6

View File

@ -63,7 +63,7 @@ public abstract class ItemListener implements Listener {
try {
if (event.getHand() == EquipmentSlot.OFF_HAND) slot = 40;
} catch (Exception ignore) {
} catch (Exception | Error ignore) {
}
if (event.getItem().getAmount() > 1) {