Skip to main content

OnFishCatch

Usage​

  • Called after a fish is caught, before the item is given
  • Returning an Item overrides the default behavior

Examples​

""
Item? OnFishCatch(Item fish, BaseFishingRod fishingRod, BasePlayer player)
{
Puts($"{player.displayName} has just caught {item.amount} x {item.info.shortname}!");
return null;
}