mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
World: do not use static:: for private property access
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user