From 0ad2985247220adb7aab7cc9edcfe7d12ff442e3 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 6 Jul 2022 23:54:29 +0100 Subject: [PATCH] Update documentation for Item::__construct() --- src/item/Item.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/item/Item.php b/src/item/Item.php index 2750b5579..2a4312539 100644 --- a/src/item/Item.php +++ b/src/item/Item.php @@ -100,8 +100,9 @@ class Item implements \JsonSerializable{ * Constructs a new Item type. This constructor should ONLY be used when constructing a new item TYPE to register * into the index. * - * NOTE: This should NOT BE USED for creating items to set into an inventory. Use {@link ItemFactory#get} for that + * NOTE: This should NOT BE USED for creating items to set into an inventory. Use VanillaItems for that * purpose. + * @see VanillaItems */ public function __construct(ItemIdentifier $identifier, string $name = "Unknown"){ $this->identifier = $identifier;