mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
better chunk unloading, world gen optimizations
This commit is contained in:
parent
e785db588d
commit
5cdfedfc75
16 changed files with 104 additions and 109 deletions
|
|
@ -415,6 +415,7 @@ class Player{
|
|||
}
|
||||
}
|
||||
asort($this->chunksOrder);
|
||||
arsort($chunkToUnload);
|
||||
if($this->level->generatorType != 0){
|
||||
foreach($chunkToUnload as $chunk => $useless){
|
||||
$chunkI = explode(":", $chunk);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue