mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed merge error
This commit is contained in:
parent
5c7f4570b4
commit
7cdf6b0946
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user