mirror of
https://github.com/nulli0n/ExcellentEnchants-spigot.git
synced 2025-02-28 03:12:27 +01:00
v4.0.0 beta
This commit is contained in:
parent
20c55f781f
commit
608b97419b
@ -54,6 +54,11 @@ public class CurseOfDrownedEnchant extends AbstractEnchantmentData implements Fi
|
||||
return EnchantmentTarget.FISHING_ROD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCurse() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onFishing(@NotNull PlayerFishEvent event, @NotNull ItemStack item, int level) {
|
||||
if (event.getState() != PlayerFishEvent.State.CAUGHT_FISH) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user