World: do not use static:: for private property access

This commit is contained in:
Dylan K. Taylor 2021-08-21 15:46:19 +01:00
parent 5f3c9e6f19
commit 7d9f8ff4ed
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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;