mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 09:49:50 +00:00
Fixes #3042
This commit is contained in:
parent
1122a3c511
commit
66f28f6dc4
@ -39,7 +39,7 @@ class Chunk extends BaseChunk{
|
|||||||
/** @var Compound */
|
/** @var Compound */
|
||||||
protected $nbt;
|
protected $nbt;
|
||||||
|
|
||||||
public function __construct($level, Compound $nbt){
|
public function __construct($level, Compound $nbt = null){
|
||||||
if($nbt === null){
|
if($nbt === null){
|
||||||
$this->provider = $level;
|
$this->provider = $level;
|
||||||
$this->nbt = new Compound("Level", []);
|
$this->nbt = new Compound("Level", []);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user