mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Log a message when forceShutdown() is called for anything other than a graceful shutdown
This commit is contained in:
parent
52f0c4f3ed
commit
4a8ca603a1
@ -1413,6 +1413,9 @@ class Server{
|
||||
echo "\x1b]0;\x07";
|
||||
}
|
||||
|
||||
if($this->isRunning){
|
||||
$this->logger->emergency("Forcing server shutdown");
|
||||
}
|
||||
try{
|
||||
if(!$this->isRunning()){
|
||||
$this->sendUsage(SendUsageTask::TYPE_CLOSE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user