mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Merge branch 'master' of https://github.com/ArkQuark/NostalgiaCore
This commit is contained in:
commit
7fb11d97fd
1 changed files with 1 additions and 0 deletions
|
|
@ -183,6 +183,7 @@ class PocketMinecraftServer{
|
|||
public function close($reason = "server stop"){
|
||||
$this->send2Discord('[INFO] Server stopped!');
|
||||
usleep(2);
|
||||
$this->onShutdown();
|
||||
if($this->stop !== true){
|
||||
if(is_int($reason)){
|
||||
$reason = "signal stop";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue