PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
InventoryPickupItemEvent.php
1 <?php
2 
22 namespace pocketmine\event\inventory;
23 
27 
29  public static $handlerList = null;
30  public static $eventPool = [];
31  public static $nextEvent = 0;
32 
34  private $item;
35 
40  public function __construct(Inventory $inventory, Item $item){
41  $this->item = $item;
42  parent::__construct($inventory);
43  }
44 
48  public function getItem(){
49  return $this->item;
50  }
51 
52 }