Fixed PlayerInventoryEvent Type.

By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
Bukkit/Spigot
2011-04-04 20:40:46 -04:00
parent 2427d3835e
commit 871953413c
2 changed files with 7 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ public class PlayerInventoryEvent extends PlayerEvent {
protected Inventory inventory;
public PlayerInventoryEvent(final Player player, final Inventory inventory) {
super(Type.PLAYER_INTERACT, player);
super(Type.PLAYER_INVENTORY, player);
this.inventory = inventory;
}