No suitable method found to override

NicoCyso

Terrarian
Im trying to make a yoyo heal me on hit but i get the "No suitable method found to override" error
When i remove "override" the code works but when i hit something it doesnt heal me at all

public override void OnHitNpcWithProjectile(Player player, Projectile proj)
{
Main.player[proj.owner].HealEffect(2, true);
Main.player[proj.owner].statLife += 2;
}
 
Back
Top Bottom