mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-22 02:35:21 +01:00
Shift InventoryClickEvent listener to LOW priority #2433
This commit is contained in:
parent
c1582a81cd
commit
30ffc5f919
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user