Some water fixes.
This commit is contained in:
parent
98a7e7f080
commit
b8a5492b20
2 changed files with 12 additions and 8 deletions
|
|
@ -395,7 +395,7 @@ namespace TShockAPI
|
|||
bool flag = false;
|
||||
if (RealPlayer)
|
||||
{
|
||||
for (int i = 0; i < 50; i++) //41 is trash can, 42-45 is coins, 46-49 is ammo
|
||||
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 == "")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue