mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
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:
@ -41,11 +41,11 @@ use function igbinary_unserialize;
|
||||
class PopulationTask extends AsyncTask{
|
||||
private const TLS_KEY_ON_COMPLETION = "onCompletion";
|
||||
|
||||
public int $worldId;
|
||||
private int $worldId;
|
||||
private int $chunkX;
|
||||
private int $chunkZ;
|
||||
|
||||
public ?string $chunk;
|
||||
private ?string $chunk;
|
||||
|
||||
private string $adjacentChunks;
|
||||
|
||||
|
Reference in New Issue
Block a user