PopulationTask: fixed undefined method call

fuck you PhpStorm! fuck you PhpStorm! fuck you PhpStorm!
This commit is contained in:
Dylan K. Taylor 2021-10-25 20:57:43 +01:00
parent 359d0835f3
commit 2e2515354c
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -127,7 +127,7 @@ class PopulationTask extends AsyncTask{
foreach($chunks as $i => $c){
$oldModCount = $oldModCounts[$i] ?? 0;
$this->{"chunk$i"} = $oldModCount !== $c->getModificationCounter() ? FastChunkSerializer::serializeTerrain($c) : null;
$this->{"chunk$i"} = $oldModCount !== $c->getModificationCount() ? FastChunkSerializer::serializeTerrain($c) : null;
}
}