mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Added InventoryOpenEvent and InventoryPickupItemEvent
This commit is contained in:
@ -194,6 +194,17 @@ interface Inventory{
|
||||
*/
|
||||
public function onOpen(Player $who);
|
||||
|
||||
/**
|
||||
* Tries to open the inventory to a player
|
||||
*
|
||||
* @param Player $who
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function open(Player $who);
|
||||
|
||||
public function close(Player $who);
|
||||
|
||||
/**
|
||||
* @param Player $who
|
||||
*/
|
||||
|
Reference in New Issue
Block a user