Remove item max stack check.
This commit is contained in:
parent
0aa44fed67
commit
daf56053c8
2 changed files with 3 additions and 3 deletions
|
|
@ -466,11 +466,11 @@ namespace TShockAPI
|
|||
|
||||
public static bool CheckInventory(int plr)
|
||||
{
|
||||
for (int i = 0; i < 44; i++)
|
||||
/*for (int i = 0; i < 44; i++)
|
||||
{
|
||||
if (Main.player[plr].inventory[i].stack > Main.player[plr].inventory[i].maxStack)
|
||||
return true;
|
||||
}
|
||||
}*/
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue