mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Allow passing a Player source as last parameter on Inventory->addItem() and Inventory->removeItem()
This commit is contained in:
@ -67,7 +67,7 @@ interface Inventory{
|
||||
* Stores the given Items in the inventory. This will try to fill
|
||||
* existing stacks and empty slots as well as it can.
|
||||
*
|
||||
* Returns the Items that did not fit
|
||||
* Returns the Items that did not fit. A Player source can be set at the end
|
||||
*
|
||||
* @param Item ...$item
|
||||
*
|
||||
@ -86,7 +86,7 @@ interface Inventory{
|
||||
|
||||
/**
|
||||
* Removes the given Item from the inventory.
|
||||
* It will return the Items that couldn't be removed.
|
||||
* It will return the Items that couldn't be removed. A Player source can be set at the end
|
||||
*
|
||||
* @param Item ...$item
|
||||
*
|
||||
|
Reference in New Issue
Block a user