Reverting change that sneaked in.
This commit is contained in:
parent
3f956801f8
commit
05ff0be3f5
1 changed files with 0 additions and 3 deletions
|
|
@ -576,10 +576,7 @@ namespace TShockAPI
|
||||||
if (TShock.Config.ServerSideCharacter)
|
if (TShock.Config.ServerSideCharacter)
|
||||||
foreach (TSPlayer player in TShock.Players)
|
foreach (TSPlayer player in TShock.Players)
|
||||||
if (player != null && player.IsLoggedIn && !player.IgnoreActionsForClearingTrashCan)
|
if (player != null && player.IsLoggedIn && !player.IgnoreActionsForClearingTrashCan)
|
||||||
{
|
|
||||||
player.PlayerData.CopyCharacter(player);
|
|
||||||
TShock.CharacterDB.InsertPlayerData(player);
|
TShock.CharacterDB.InsertPlayerData(player);
|
||||||
}
|
|
||||||
|
|
||||||
StopServer(true, reason);
|
StopServer(true, reason);
|
||||||
System.Diagnostics.Process.Start(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);
|
System.Diagnostics.Process.Start(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue