Improved NBT json parsing, attribute base

This commit is contained in:
Shoghi Cervantes
2015-08-08 22:39:43 +02:00
parent f5429ef585
commit a9ead5567b
7 changed files with 514 additions and 36 deletions

View File

@ -1188,13 +1188,9 @@ class Item{
if($tag->display->getCount() === 0){
unset($tag->display);
}
}else{
$tag->display = new Compound("display", [
"Name" => new String("Name", $name)
]);
}
$this->setNamedTag($tag);
$this->setNamedTag($tag);
}
return $this;
}