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

◆ OnPurchase()

void Terraria.Item.OnPurchase ( Item item)
inline

Definition at line 51809 of file Item.cs.

51810 {
51811 if (item.shopCustomPrice.HasValue)
51812 {
51813 item.shopSpecialCurrency = -1;
51814 item.shopCustomPrice = null;
51815 }
51816 }

References Terraria.Item.shopCustomPrice.