From 65ed7d77940f68f294d6ca4f186bebd9f8e20a36 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 27 Jun 2022 13:35:43 +0100 Subject: [PATCH] Remove Item::hasAnyDamageValue() --- src/item/Item.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/item/Item.php b/src/item/Item.php index 3819b1f1e..52c525ecd 100644 --- a/src/item/Item.php +++ b/src/item/Item.php @@ -441,14 +441,6 @@ class Item implements \JsonSerializable{ return $this->identifier->getMeta(); } - /** - * Returns whether this item can match any item with an equivalent ID with any meta value. - * Used in crafting recipes which accept multiple variants of the same item, for example crafting tables recipes. - */ - public function hasAnyDamageValue() : bool{ - return $this->identifier->getMeta() === -1; - } - /** * Returns the highest amount of this item which will fit into one inventory slot. */