Use the NetItem max inventory when seeding the database.
This commit is contained in:
parent
8c91856113
commit
17ea9e0875
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ namespace TShockAPI.DB
|
|||
public bool SeedInitialData(User user)
|
||||
{
|
||||
var inventory = new StringBuilder();
|
||||
for (int i = 0; i < Terraria.Main.maxInventory; i++)
|
||||
for (int i = 0; i < NetItem.maxNetInventory; i++)
|
||||
{
|
||||
if (i > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue