mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Item: added missing return type info for clearCustomBlockData()
This commit is contained in:
@ -272,6 +272,9 @@ class Item implements ItemIds, \JsonSerializable{
|
|||||||
return $this->getNamedTagEntry(self::TAG_BLOCK_ENTITY_TAG) instanceof CompoundTag;
|
return $this->getNamedTagEntry(self::TAG_BLOCK_ENTITY_TAG) instanceof CompoundTag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
public function clearCustomBlockData(){
|
public function clearCustomBlockData(){
|
||||||
$this->removeNamedTagEntry(self::TAG_BLOCK_ENTITY_TAG);
|
$this->removeNamedTagEntry(self::TAG_BLOCK_ENTITY_TAG);
|
||||||
return $this;
|
return $this;
|
||||||
|
Reference in New Issue
Block a user