mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixing join message, updating IDs
This commit is contained in:
parent
44e0109580
commit
5b7641af3d
5 changed files with 31 additions and 7 deletions
|
|
@ -1470,6 +1470,7 @@ class Player{
|
|||
$this->server->api->player->spawnToAllPlayers($this);
|
||||
$this->server->api->entity->spawnAll($this);
|
||||
$this->server->api->entity->spawnToAll($this->entity);
|
||||
$this->server->api->chat->broadcast($this->username." joined the game.");
|
||||
|
||||
$this->server->schedule(5, [$this->entity, "update"], [], true);
|
||||
$this->server->schedule(2, [$this->entity, "updateMovement"], [], true);
|
||||
|
|
@ -1481,7 +1482,7 @@ class Player{
|
|||
|
||||
$this->sendInventory();
|
||||
$this->sendSettings();
|
||||
$this->server->schedule(50, [$this, "orderChunks"], []);
|
||||
//$this->server->schedule(50, [$this, "orderChunks"], []);
|
||||
$this->blocked = false;
|
||||
|
||||
$this->server->handle("player.spawn", $this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue