mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Remove deprecated things
This commit is contained in:
@ -857,19 +857,6 @@ class Item implements ItemIds, \JsonSerializable{
|
||||
return $this->equals($other, true, true) and $this->count === $other->count;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link Item#equals} instead, this method will be removed in the future.
|
||||
*
|
||||
* @param Item $item
|
||||
* @param bool $checkDamage
|
||||
* @param bool $checkCompound
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
final public function deepEquals(Item $item, bool $checkDamage = true, bool $checkCompound = true) : bool{
|
||||
return $this->equals($item, $checkDamage, $checkCompound);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
Reference in New Issue
Block a user