mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Fixed LuckyCatch
This commit is contained in:
parent
d2d9b3f712
commit
58b7e22769
@ -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())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user