mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-26 05:14:05 +00:00
Item: added missing return type info for clearCustomBlockData()
This commit is contained in:
parent
fd27227cc7
commit
e544bc0d4b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user