Skip to content

Commit

Permalink
fix inventory picks up item event bork
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Apr 1, 2020
1 parent 6a41d3d commit d0647f6
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -87,6 +87,7 @@ else if (name.equals("entity")) {

@EventHandler
public void onInvPicksUpItem(InventoryPickupItemEvent event) {
this.event = event;
inventory = InventoryTag.mirrorBukkitInventory(event.getInventory());
item = new ItemTag(event.getItem());
fire(event);
Expand Down

0 comments on commit d0647f6

Please sign in to comment.