mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Fixes #3042
This commit is contained in:
@@ -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", []);
|
||||||
|
Reference in New Issue
Block a user