mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-21 18:25:12 +01:00
Merge pull request #2435 from BentoBoxWorld/2433_inventory_click_event_priority
Shift InventoryClickEvent listener to LOW priority #2433
This commit is contained in:
commit
9fccb89261
@ -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