missed some more declarations
This commit is contained in:
parent
5c24ba6f8d
commit
07da3d5f58
4 changed files with 25 additions and 25 deletions
|
|
@ -120,7 +120,7 @@ namespace TShockAPI.DB
|
|||
return playerData;
|
||||
}
|
||||
|
||||
public bool SeedInitialData(UserAccount user)
|
||||
public bool SeedInitialData(UserAccount account)
|
||||
{
|
||||
var inventory = new StringBuilder();
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ namespace TShockAPI.DB
|
|||
try
|
||||
{
|
||||
database.Query("INSERT INTO tsCharacter (Account, Health, MaxHealth, Mana, MaxMana, Inventory, spawnX, spawnY, questsCompleted) VALUES (@0, @1, @2, @3, @4, @5, @6, @7, @8);",
|
||||
user.ID,
|
||||
account.ID,
|
||||
TShock.ServerSideCharacterConfig.StartingHealth,
|
||||
TShock.ServerSideCharacterConfig.StartingHealth,
|
||||
TShock.ServerSideCharacterConfig.StartingMana,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue