Forcekick now saves the users inventory.
This commit is contained in:
parent
b5504d2319
commit
f672f50783
1 changed files with 1 additions and 0 deletions
|
|
@ -571,6 +571,7 @@ namespace TShockAPI
|
|||
{
|
||||
string playerName = player.Name;
|
||||
player.SilentKickInProgress = silent;
|
||||
TShock.InventoryDB.InsertPlayerData(player);
|
||||
player.Disconnect(string.Format("Kicked: {0}", reason));
|
||||
Log.ConsoleInfo(string.Format("Kicked {0} for : {1}", playerName, reason));
|
||||
string verb = force ? "force " : "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue