Merge branch 'master' of github.com:TShock/TShock

This commit is contained in:
Shank 2011-06-05 15:00:35 -06:00
commit 03927f7d72
3 changed files with 104 additions and 108 deletions

View file

@ -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;
}