Updated Local Files
This commit is contained in:
parent
87e3fd347d
commit
44afc6d8dd
3 changed files with 33 additions and 10 deletions
|
|
@ -1007,7 +1007,9 @@ namespace TShockAPI
|
|||
//Added restart command
|
||||
private static void Restart(CommandArgs args)
|
||||
{
|
||||
|
||||
if (Main.runningMono){
|
||||
Log.ConsoleInfo("Sorry, this command has not yet been implemented in Mono");
|
||||
}else{
|
||||
if (TShock.Config.ServerSideInventory)
|
||||
{
|
||||
foreach (TSPlayer player in TShock.Players)
|
||||
|
|
@ -1024,7 +1026,7 @@ namespace TShockAPI
|
|||
Netplay.disconnect = true;
|
||||
System.Diagnostics.Process.Start(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);
|
||||
Environment.Exit(0);
|
||||
}
|
||||
}}
|
||||
|
||||
private static void OffNoSave(CommandArgs args)
|
||||
{
|
||||
|
|
@ -3452,4 +3454,4 @@ namespace TShockAPI
|
|||
|
||||
#endregion Cheat Comamnds
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue