Update TSPlayer.cs
This commit is contained in:
parent
226701c3e7
commit
65924b9f15
1 changed files with 5 additions and 0 deletions
|
|
@ -430,6 +430,11 @@ namespace TShockAPI
|
|||
}
|
||||
try
|
||||
{
|
||||
if ((tempGroup != null && tempGroup.HasPermission(Permissions.bypassssc)) || Group.HasPermission(Permissions.bypassssc))
|
||||
{
|
||||
TShock.Log.ConsoleInfo("Skipping SSC Backup for " + User.Name); // Debug Code
|
||||
return true;
|
||||
}
|
||||
PlayerData.CopyCharacter(this);
|
||||
TShock.CharacterDB.InsertPlayerData(this);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue