Fixed LuckyCatch

This commit is contained in:
Auxilor 2021-01-20 20:58:01 +00:00
parent d2d9b3f712
commit 58b7e22769

View File

@ -28,6 +28,10 @@ public class LuckyCatch extends EcoEnchant {
return; return;
} }
if (event.getState() == PlayerFishEvent.State.CAUGHT_ENTITY) {
return;
}
int level = EnchantChecks.getItemLevel(item, this); int level = EnchantChecks.getItemLevel(item, this);
if (this.getDisabledWorlds().contains(player.getWorld())) { if (this.getDisabledWorlds().contains(player.getWorld())) {