Ensure we only save SSC when SSC is enabled.
This commit is contained in:
parent
0ed25ebbfe
commit
ef35ffe091
4 changed files with 14 additions and 8 deletions
|
|
@ -475,7 +475,7 @@ namespace TShockAPI
|
|||
args.Player.IsLoggedIn = true;
|
||||
args.Player.IgnoreActionsForInventory = "none";
|
||||
|
||||
if (!args.Player.IgnoreActionsForClearingTrashCan)
|
||||
if (!args.Player.IgnoreActionsForClearingTrashCan && TShock.Config.ServerSideCharacter)
|
||||
{
|
||||
args.Player.PlayerData.CopyCharacter(args.Player);
|
||||
TShock.CharacterDB.InsertPlayerData(args.Player);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue