diff --git a/src/pocketmine/item/Item.php b/src/pocketmine/item/Item.php index 4fe6bc67d3..d1e21183a6 100644 --- a/src/pocketmine/item/Item.php +++ b/src/pocketmine/item/Item.php @@ -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;