From 7cdf6b094655bce88a2c78f75247b0649875e4e4 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 6 May 2023 17:29:59 +0100 Subject: [PATCH] Fixed merge error --- src/inventory/SimpleInventory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inventory/SimpleInventory.php b/src/inventory/SimpleInventory.php index 19fd6da34..4b44326fa 100644 --- a/src/inventory/SimpleInventory.php +++ b/src/inventory/SimpleInventory.php @@ -86,7 +86,7 @@ class SimpleInventory extends BaseInventory{ protected function getMatchingItemCount(int $slot, Item $test, bool $checkTags) : int{ $slotItem = $this->slots[$slot]; - return $slotItem !== null && $slotItem->equals($test, $checkDamage, $checkTags) ? $slotItem->getCount() : 0; + return $slotItem !== null && $slotItem->equals($test, true, $checkTags) ? $slotItem->getCount() : 0; } public function isSlotEmpty(int $index) : bool{