We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbacd10 commit 52e1ff3Copy full SHA for 52e1ff3
src/main/java/world/bentobox/bentobox/listeners/PanelListenerManager.java
@@ -33,7 +33,7 @@ public void onInventoryClick(InventoryClickEvent event) {
33
34
// Open the inventory panel that this player has open (they can only ever have one)
35
if (openPanels.containsKey(user.getUniqueId()) &&
36
- openPanels.get(user.getUniqueId()).getInventory().equals(event.getClickedInventory())) {
+ openPanels.get(user.getUniqueId()).getInventory().equals(event.getInventory())) {
37
// Cancel the event. If they don't want it to be cancelled then the click handler(s) should
38
// uncancel it. If gui was from our environment, then cancel event anyway.
39
event.setCancelled(true);
0 commit comments