mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +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:
parent
5c81b04813
commit
0356716e8e
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user