Merge branch 'master' of github.com:TShock/TShock
This commit is contained in:
commit
03927f7d72
3 changed files with 104 additions and 108 deletions
|
|
@ -193,6 +193,10 @@ namespace TShockAPI
|
|||
|
||||
public static void Off(CommandArgs args)
|
||||
{
|
||||
for (int player = 0; player < Main.maxPlayers; player++)
|
||||
{
|
||||
Tools.Kick(player, "server shutting down");
|
||||
}
|
||||
WorldGen.saveWorld();
|
||||
Netplay.disconnect = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue