mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Possible fix for #2046, removed embedded class names
This commit is contained in:
@ -140,7 +140,7 @@ class Chunk extends BaseChunk{
|
||||
return null;
|
||||
}
|
||||
|
||||
return new Chunk($provider instanceof LevelProvider ? $provider : "pocketmine\\level\\format\\anvil\\Anvil", $chunk->Level);
|
||||
return new Chunk($provider instanceof LevelProvider ? $provider : Anvil::class, $chunk->Level);
|
||||
}
|
||||
|
||||
public function toBinary(){
|
||||
|
Reference in New Issue
Block a user