mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
removed useless classes, entities are not in database anymore
This commit is contained in:
parent
af7293d4d7
commit
1bbe5c7582
14 changed files with 43 additions and 77 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue