From e544bc0d4ba5bbcde27da43e8eb6da122d0728d9 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 18 Jan 2020 20:11:47 +0000 Subject: [PATCH] Item: added missing return type info for clearCustomBlockData() --- src/pocketmine/item/Item.php | 3 +++ 1 file changed, 3 insertions(+) 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;