Do not count coin slots during inventory check
This commit is contained in:
parent
c3fdff890a
commit
6f63117435
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ namespace TShockAPI
|
||||||
bool flag = false;
|
bool flag = false;
|
||||||
if (RealPlayer)
|
if (RealPlayer)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < TPlayer.inventory.Length; i++)
|
for (int i = 0; i < 40; i++)
|
||||||
{
|
{
|
||||||
if (TPlayer.inventory[i] == null || !TPlayer.inventory[i].active)
|
if (TPlayer.inventory[i] == null || !TPlayer.inventory[i].active)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue