mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29: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"){
|
public function close($reason = "server stop"){
|
||||||
$this->send2Discord('[INFO] Server stopped!');
|
$this->send2Discord('[INFO] Server stopped!');
|
||||||
usleep(2);
|
usleep(2);
|
||||||
|
$this->onShutdown();
|
||||||
if($this->stop !== true){
|
if($this->stop !== true){
|
||||||
if(is_int($reason)){
|
if(is_int($reason)){
|
||||||
$reason = "signal stop";
|
$reason = "signal stop";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue