mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +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
|
||||
*/
|
||||
public function __construct(Server $server, string $name, WritableWorldProvider $provider, AsyncPool $workerPool){
|
||||
$this->worldId = static::$worldIdCounter++;
|
||||
$this->worldId = self::$worldIdCounter++;
|
||||
$this->server = $server;
|
||||
|
||||
$this->provider = $provider;
|
||||
|
Loading…
x
Reference in New Issue
Block a user