Hi I'm getting an error for my modded pet.
This is the error:
Mod Sources\MageIsland\Projectiles\Pets\PossesedPlush.cs(26,20) : error CS1061: 'Terraria.Player' does not contain a definition for 'cursedsapling' and no extension method 'cursedsapling' accepting a first argument of type 'Terraria.Player' could be found (are you missing a using directive or an assembly reference?)
Here is the code:
Terraria.Player does not contain a definition... Please help with error
This is the error:
Mod Sources\MageIsland\Projectiles\Pets\PossesedPlush.cs(26,20) : error CS1061: 'Terraria.Player' does not contain a definition for 'cursedsapling' and no extension method 'cursedsapling' accepting a first argument of type 'Terraria.Player' could be found (are you missing a using directive or an assembly reference?)
Here is the code:
Code:
using System; using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using...