tModLoader Looking for help to solve an error

Several People

Official Terrarian
error.png

As you can see this error occurs after I press the "Build" or "Build + Reload" in the Mod Sources
If someone knows how to fix this, please give your answer on this thread.
 
I think it's because you put item.name in the set defaults which is the old way (I could be wrong though because I can't speak other languages).
Put this at the top and remove item.name and item.tooltip:
Code:
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Rainbow Sword");
Tooltip.SetDefault("Put something cool here");
}
 
I think it's because you put item.name in the set defaults which is the old way (I could be wrong though because I can't speak other languages).
Put this at the top and remove item.name and item.tooltip:
Code:
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Rainbow Sword");
Tooltip.SetDefault("Put something cool here");
}
I already fixed it, but that will not stop me from saying thank you for taking some of your time to answer my problem.
 
Back
Top Bottom