removed useless classes, entities are not in database anymore

This commit is contained in:
GameHerobrine 2024-01-09 05:19:36 +03:00
parent af7293d4d7
commit 1bbe5c7582
14 changed files with 43 additions and 77 deletions

View file

@ -204,7 +204,10 @@ class Player{
}
$this->level->freeAllChunks($this);
unset($this->level->players[$this->CID]);
$this->level = $pos->level;
$this->level->players[$this->CID] = $this;
$this->chunksLoaded = [];
$this->server->api->entity->spawnToAll($this->entity);
$this->server->api->entity->spawnAll($this);