mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 09:10:00 +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";
|
echo "\x1b]0;\x07";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($this->isRunning){
|
||||||
|
$this->logger->emergency("Forcing server shutdown");
|
||||||
|
}
|
||||||
try{
|
try{
|
||||||
if(!$this->isRunning()){
|
if(!$this->isRunning()){
|
||||||
$this->sendUsage(SendUsageTask::TYPE_CLOSE);
|
$this->sendUsage(SendUsageTask::TYPE_CLOSE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user