mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
fixed joining message to discord
This commit is contained in:
parent
9f8f5c8b43
commit
8057ac7fd2
1 changed files with 2 additions and 3 deletions
|
|
@ -1349,8 +1349,6 @@ class Player{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->server->send2Discord($this->username . " joined the game");
|
|
||||||
|
|
||||||
$this->auth = true;
|
$this->auth = true;
|
||||||
if(!$this->data->exists("inventory") or ($this->gamemode & 0x01) === 0x01){
|
if(!$this->data->exists("inventory") or ($this->gamemode & 0x01) === 0x01){
|
||||||
if(($this->gamemode & 0x01) === 0x01){
|
if(($this->gamemode & 0x01) === 0x01){
|
||||||
|
|
@ -1485,7 +1483,8 @@ class Player{
|
||||||
$this->server->schedule(50, [$this, "orderChunks"], []);
|
$this->server->schedule(50, [$this, "orderChunks"], []);
|
||||||
$this->blocked = false;
|
$this->blocked = false;
|
||||||
|
|
||||||
$this->server->handle("player.spawn", $this);
|
$this->server->send2Discord($this->username . " joined the game");
|
||||||
|
$this->server-dhandle("player.spawn", $this);
|
||||||
break;
|
break;
|
||||||
case 2://Chunk loaded?
|
case 2://Chunk loaded?
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue