Item: added missing return type info for clearCustomBlockData()

This commit is contained in:
Dylan K. Taylor 2020-01-18 20:11:47 +00:00
parent fd27227cc7
commit e544bc0d4b

View File

@ -272,6 +272,9 @@ class Item implements ItemIds, \JsonSerializable{
return $this->getNamedTagEntry(self::TAG_BLOCK_ENTITY_TAG) instanceof CompoundTag;
}
/**
* @return $this
*/
public function clearCustomBlockData(){
$this->removeNamedTagEntry(self::TAG_BLOCK_ENTITY_TAG);
return $this;