diff --git a/src/main/java/io/github/townyadvanced/townymenus/listeners/InventoryListener.java b/src/main/java/io/github/townyadvanced/townymenus/listeners/InventoryListener.java index 22f521a..b691482 100644 --- a/src/main/java/io/github/townyadvanced/townymenus/listeners/InventoryListener.java +++ b/src/main/java/io/github/townyadvanced/townymenus/listeners/InventoryListener.java @@ -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); } }