Skip to content

Commit

Permalink
fix stop command
Browse files Browse the repository at this point in the history
  • Loading branch information
Bims-sh committed Aug 9, 2024
1 parent 420ba02 commit d87fb21
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ChatCommands/StopServerAndApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ public StopServerAndApi() : base(

Program.Logger.Info("Closing Server...");
Server.StopServer();
Server.AnnounceLong("Stopping...");

while (Server.IsConnected)
{
Thread.Sleep(1000);
}

Program.Logger.Info("Quitting API...");
Environment.Exit(-1);
};
}
}

0 comments on commit d87fb21

Please sign in to comment.