PopulationTask: do not expose internal fields as public

this code dates back to pthreads v2, when visibility on Threaded object fields meant different things (wtf, krakjoe??)
This commit is contained in:
Dylan K. Taylor 2021-11-03 15:23:43 +00:00
parent 5c81b04813
commit 0356716e8e
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -41,11 +41,11 @@ use function igbinary_unserialize;
class PopulationTask extends AsyncTask{ class PopulationTask extends AsyncTask{
private const TLS_KEY_ON_COMPLETION = "onCompletion"; private const TLS_KEY_ON_COMPLETION = "onCompletion";
public int $worldId; private int $worldId;
private int $chunkX; private int $chunkX;
private int $chunkZ; private int $chunkZ;
public ?string $chunk; private ?string $chunk;
private string $adjacentChunks; private string $adjacentChunks;