mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 05:55:33 +00:00
World: do not use static:: for private property access
This commit is contained in:
parent
5f3c9e6f19
commit
7d9f8ff4ed
@ -389,7 +389,7 @@ class World implements ChunkManager{
|
|||||||
* Init the default world data
|
* Init the default world data
|
||||||
*/
|
*/
|
||||||
public function __construct(Server $server, string $name, WritableWorldProvider $provider, AsyncPool $workerPool){
|
public function __construct(Server $server, string $name, WritableWorldProvider $provider, AsyncPool $workerPool){
|
||||||
$this->worldId = static::$worldIdCounter++;
|
$this->worldId = self::$worldIdCounter++;
|
||||||
$this->server = $server;
|
$this->server = $server;
|
||||||
|
|
||||||
$this->provider = $provider;
|
$this->provider = $provider;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user