mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
fixed stop message send in discord, fixed gm change kick message
This commit is contained in:
parent
fcd1ecb1a9
commit
a1a650dc5e
3 changed files with 26 additions and 4 deletions
|
|
@ -963,7 +963,7 @@ class Player{
|
|||
$this->blocked = true;
|
||||
$this->gamemode = $gm;
|
||||
$this->sendChat("Your gamemode has been changed to " . $this->getGamemode() . ", you've to do a forced reconnect.\n");
|
||||
$this->server->schedule(30, [$this, "close"], "gamemode change"); //Forces a kick
|
||||
$this->server->schedule(30, [$this, "close"], "gamemode change", false, true); //Forces a kick
|
||||
}
|
||||
|
||||
if($this->gamemode === SPECTATOR){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue