Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
InventoryCloseEvent.java
1 
2 package org.bukkit.event.inventory;
3 
7 
8 /**
9  * Represents a player related inventory event
10  */
11 public class InventoryCloseEvent extends InventoryEvent {
12  private static final HandlerList handlers = new HandlerList();
13 
14  public InventoryCloseEvent(InventoryView transaction) {
15  super(transaction);
16  }
17 
18  /**
19  * Returns the player involved in this event
20  *
21  * @return Player who is involved in this event
22  */
23  public final HumanEntity getPlayer() {
24  return transaction.getPlayer();
25  }
26 
27  @Override
28  public HandlerList getHandlers() {
29  return handlers;
30  }
31 
32  public static HandlerList getHandlerList() {
33  return handlers;
34  }
35 }
abstract HumanEntity getPlayer()