diff --git a/src/pocketmine/level/format/anvil/Chunk.php b/src/pocketmine/level/format/anvil/Chunk.php index 7d9507e35..4f1298b27 100644 --- a/src/pocketmine/level/format/anvil/Chunk.php +++ b/src/pocketmine/level/format/anvil/Chunk.php @@ -39,7 +39,7 @@ class Chunk extends BaseChunk{ /** @var Compound */ protected $nbt; - public function __construct($level, Compound $nbt){ + public function __construct($level, Compound $nbt = null){ if($nbt === null){ $this->provider = $level; $this->nbt = new Compound("Level", []);