missed some more declarations

This commit is contained in:
Edgar Luque 2017-12-08 01:48:08 +01:00
parent 5c24ba6f8d
commit 07da3d5f58
4 changed files with 25 additions and 25 deletions

View file

@ -500,14 +500,14 @@ namespace TShockAPI
/// <param name="args">args - The AccountDeleteEventArgs object.</param>
private void OnAccountDelete(Hooks.AccountDeleteEventArgs args)
{
CharacterDB.RemovePlayer(args.User.ID);
CharacterDB.RemovePlayer(args.Account.ID);
}
/// <summary>OnAccountCreate - Internal hook fired on account creation.</summary>
/// <param name="args">args - The AccountCreateEventArgs object.</param>
private void OnAccountCreate(Hooks.AccountCreateEventArgs args)
{
CharacterDB.SeedInitialData(UserAccounts.GetUserAccount(args.User));
CharacterDB.SeedInitialData(UserAccounts.GetUserAccount(args.Account));
}
/// <summary>OnPlayerPreLogin - Internal hook fired when on player pre login.</summary>