mirror of
https://github.com/songoda/EpicEnchants.git
synced 2024-09-28 23:57:33 +02:00
Fixed an error
This commit is contained in:
parent
8306b51842
commit
a05c9941f6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user