Fixed /off
This commit is contained in:
parent
26a4a299f3
commit
0b637c1481
1 changed files with 4 additions and 1 deletions
|
|
@ -194,7 +194,10 @@ namespace TShockAPI
|
|||
{
|
||||
for (int player = 0; player < Main.maxPlayers; player++)
|
||||
{
|
||||
Tools.Kick(player, "server shutting down");
|
||||
if (Main.player[player].active)
|
||||
{
|
||||
Tools.Kick(player, "Server shutting down!");
|
||||
}
|
||||
}
|
||||
WorldGen.saveWorld();
|
||||
Netplay.disconnect = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue