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

◆ ItemsThatShouldNotBeInInventory

bool [] Terraria.ID.ItemID.Sets.ItemsThatShouldNotBeInInventory = Factory.CreateBoolSet(false, 58, 184, 1734, 1735, 1867, 1868, 3453, 3454, 3455, 5013)
static

If true for a given item type (F:Terraria.Item.type), then that item will be deleted from inventories on world or player load.
Defaults to false.

Definition at line 117 of file ItemID.cs.

Referenced by Terraria.Item.FixAgainstExploit(), and Terraria.IO.WorldFile.SaveChests().