TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ NeedSaving()

virtual bool Terraria.ModLoader.ModNPC.NeedSaving ( )
inlinevirtual

Makes this ModNPC save along the world even if it's not a townNPC. Defaults to false.
NOTE: A town NPC will always be saved.
NOTE: A NPC that needs saving will not despawn naturally.

Definition at line 874 of file ModNPC.cs.

875 {
876 return false;
877 }