Quantcast
Channel: General Mod Discussion
Viewing all articles
Browse latest Browse all 7890

Terraria.Player does not contain a definition... Please help with error

$
0
0
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:
Code:
using System;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using...
Terraria.Player does not contain a definition... Please help with error

Viewing all articles
Browse latest Browse all 7890

Latest Images

Trending Articles



Latest Images