From 30ffc5f91958a2445e52af231b5d6e140c7b4a4b Mon Sep 17 00:00:00 2001 From: tastybento Date: Tue, 16 Jul 2024 22:06:47 -0700 Subject: [PATCH] Shift InventoryClickEvent listener to LOW priority #2433 --- .../world/bentobox/bentobox/listeners/PanelListenerManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/bentobox/listeners/PanelListenerManager.java b/src/main/java/world/bentobox/bentobox/listeners/PanelListenerManager.java index 6cb57fd45..ff5149f52 100644 --- a/src/main/java/world/bentobox/bentobox/listeners/PanelListenerManager.java +++ b/src/main/java/world/bentobox/bentobox/listeners/PanelListenerManager.java @@ -26,7 +26,7 @@ public class PanelListenerManager implements Listener { private static final HashMap 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();