mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
New extra.properties and ClientRenderFix
This commit is contained in:
parent
c3954dbdae
commit
a6aa36bbba
5 changed files with 175 additions and 10 deletions
|
|
@ -939,6 +939,12 @@ class Player{
|
|||
}
|
||||
}
|
||||
|
||||
if($pos->level->getName() !== $this->level->getName()) { // we're switching levels.
|
||||
$rf = new ClientRenderFix($this);
|
||||
if($this->server->extraprops->get("update-client-on-world-switch")) {
|
||||
$rf = new ClientRenderFix($this, $this->server->extraprops->get("update-frequency"));
|
||||
}
|
||||
}
|
||||
|
||||
$this->level->freeAllChunks($this);
|
||||
$this->level = $pos->level;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue