Several People
Official Terrarian
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.
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.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"); }