mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-25 20:25:16 +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<>();
|
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user