Skip to content

Commit

Permalink
Fix wrong cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
Warriorrrr committed Jun 30, 2024
1 parent 975d46b commit 7771c7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ public void onInventoryDrag(final InventoryDragEvent event) {
if (!(PaperLib.getHolder(event.getInventory(), false).getHolder() instanceof MenuInventory menu))
return;

event.setCancelled(false);
event.setCancelled(true);
}
}

0 comments on commit 7771c7c

Please sign in to comment.