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:
@ -107,14 +107,6 @@ class PlayerInventory extends EntityInventory{
|
||||
return $this->getItem($hotbarSlot);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @return int
|
||||
*/
|
||||
public function getHeldItemSlot() : int{
|
||||
return $this->getHeldItemIndex();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the hotbar slot number the holder is currently holding.
|
||||
* @return int
|
||||
|
Reference in New Issue
Block a user