Skip to content

Commit

Permalink
Shift InventoryClickEvent listener to LOW priority #2433
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jul 17, 2024
1 parent c1582a8 commit 30ffc5f
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 30ffc5f

Please sign in to comment.