Final batch of .name changes

This commit is contained in:
Lucas Nicodemus 2017-04-19 17:41:15 -06:00
parent 2dee3edb3d
commit b8dbdb9ff4
No known key found for this signature in database
GPG key ID: CEE668CCE1BF2C7C
4 changed files with 23 additions and 23 deletions

View file

@ -565,7 +565,7 @@ namespace TShockAPI
{
for (int i = 0; i < 50; i++) //51 is trash can, 52-55 is coins, 56-59 is ammo
{
if (TPlayer.inventory[i] == null || !TPlayer.inventory[i].active || TPlayer.inventory[i].name == "")
if (TPlayer.inventory[i] == null || !TPlayer.inventory[i].active || TPlayer.inventory[i].Name == "")
{
flag = true;
break;