some fixes

This commit is contained in:
ArkQuark 2023-02-21 15:14:26 +03:00
parent 6cbc3824f3
commit b6934024da
4 changed files with 11 additions and 4 deletions

View file

@ -1484,7 +1484,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->api->chat->broadcast($this->username." joined the game");
$this->server->schedule(5, [$this->entity, "update"], [], true);
$this->server->schedule(2, [$this->entity, "updateMovement"], [], true);
@ -1497,7 +1497,7 @@ class Player{
/*$this->sendInventory();
$this->sendSettings();*/
$this->orderChunks();
//$this->getNextChunk($this->level);
//$this->getNextChunk($this->level);
$this->loadAllChunks();
$this->blocked = false;