Skip to content

Commit

Permalink
Merge pull request #2435 from BentoBoxWorld/2433_inventory_click_even…
Browse files Browse the repository at this point in the history
…t_priority

Shift InventoryClickEvent listener to LOW priority #2433
  • Loading branch information
tastybento authored Jul 17, 2024
2 parents c1582a8 + 30ffc5f commit 9fccb89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class PanelListenerManager implements Listener {

private static final HashMap<UUID, Panel> openPanels = new HashMap<>();

@EventHandler(priority = EventPriority.HIGHEST)
@EventHandler(priority = EventPriority.LOW)
public void onInventoryClick(InventoryClickEvent event) {
User user = User.getInstance(event.getWhoClicked()); // The player that clicked the item
InventoryView view = event.getView();
Expand Down

0 comments on commit 9fccb89

Please sign in to comment.