Shift InventoryClickEvent listener to LOW priority #2433

This commit is contained in:
tastybento 2024-07-16 22:06:47 -07:00
parent c1582a81cd
commit 30ffc5f919

View File

@ -26,7 +26,7 @@ public class PanelListenerManager implements Listener {
private static final HashMap<UUID, Panel> openPanels = new HashMap<>(); private static final HashMap<UUID, Panel> openPanels = new HashMap<>();
@EventHandler(priority = EventPriority.HIGHEST) @EventHandler(priority = EventPriority.LOW)
public void onInventoryClick(InventoryClickEvent event) { public void onInventoryClick(InventoryClickEvent event) {
User user = User.getInstance(event.getWhoClicked()); // The player that clicked the item User user = User.getInstance(event.getWhoClicked()); // The player that clicked the item
InventoryView view = event.getView(); InventoryView view = event.getView();