Added InventoryOpenEvent and InventoryPickupItemEvent

This commit is contained in:
Shoghi Cervantes
2014-05-27 01:44:56 +02:00
parent e1ccd7f9ea
commit d92c5332da
5 changed files with 186 additions and 12 deletions

View File

@ -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
*/