diff --git a/src/item/Item.php b/src/item/Item.php index 3b564bb97..1803d93f3 100644 --- a/src/item/Item.php +++ b/src/item/Item.php @@ -316,7 +316,7 @@ class Item implements \JsonSerializable{ $this->canPlaceOn = new Set(); $canPlaceOn = $tag->getListTag("CanPlaceOn"); if($canPlaceOn !== null){ - /** @var StringTag $tag */ + /** @var StringTag $entry */ foreach($canPlaceOn as $entry){ $this->canPlaceOn->add($entry->getValue()); }