mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Implemented partial chunk saving on LevelDB (#3078)
This commit is contained in:
@ -118,7 +118,7 @@ class PopulationTask extends AsyncTask{
|
||||
foreach($chunks as $i => $c){
|
||||
if($c !== null){
|
||||
$c = $chunks[$i] = $manager->getChunk($c->getX(), $c->getZ());
|
||||
if(!$c->hasChanged()){
|
||||
if(!$c->isDirty()){
|
||||
$chunks[$i] = null;
|
||||
}
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user