This commit is contained in:
Shoghi Cervantes 2015-05-19 17:48:35 +02:00
parent 1122a3c511
commit 66f28f6dc4

View File

@ -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", []);