|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtual |
Allows you to save custom data for the given item. Allows you to save custom data for the given npc.
NOTE: The provided tag is always empty by default, and is provided as an argument only for the sake of convenience and optimization.
NOTE: Try to only save data that isn't default values.
NOTE: The npc may be saved even if NeedSaving returns false and this is not a townNPC, if another mod returns true on NeedSaving.
| tag | The TagCompound to save data into. Note that this is always empty by default, and is provided as an argument |
Definition at line 888 of file ModNPC.cs.