Chunk: rename DIRTY_FLAG_TERRAIN to DIRTY_FLAG_BLOCKS

we use the word 'terrain' elsewhere to refer to the combination of blocks and biomes, so using TERRAIN here is misleading.
This commit is contained in:
Dylan K. Taylor
2021-10-28 22:11:07 +01:00
parent a62ce64fdd
commit d410db4302
3 changed files with 6 additions and 6 deletions

View File

@ -117,7 +117,7 @@ class PopulationTask extends AsyncTask{
if($chunk === null){
throw new AssumptionFailedError("We just set this chunk, so it must exist");
}
$chunk->setTerrainDirtyFlag(Chunk::DIRTY_FLAG_TERRAIN, true);
$chunk->setTerrainDirtyFlag(Chunk::DIRTY_FLAG_BLOCKS, true);
$chunk->setTerrainDirtyFlag(Chunk::DIRTY_FLAG_BIOMES, true);
}
return $chunk;