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 ab897d9 commit bf68327Copy full SHA for bf68327
src/main/java/pro/cloudnode/smp/bankaccounts/events/GUI.java
@@ -159,7 +159,7 @@ public void onInventoryClick(final @NotNull InventoryDragEvent event) {
159
* Detect changes in items of POS chest while a POS GUI is opened and prevent the item change.
160
* POS items can still be modified if no POS GUI is opened for that POS.
161
*/
162
- @EventHandler(priority = EventPriority.HIGHEST)
+ @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
163
public void posItemsChangeWhileOpened(final @NotNull InventoryMoveItemEvent event) {
164
final @NotNull Inventory source = event.getSource();
165
final @NotNull Inventory destination = event.getDestination();
0 commit comments