diff --git a/src/main/java/net/knarcraft/permissionsigns/listener/SignListener.java b/src/main/java/net/knarcraft/permissionsigns/listener/SignListener.java index 2af48b7..92c500d 100644 --- a/src/main/java/net/knarcraft/permissionsigns/listener/SignListener.java +++ b/src/main/java/net/knarcraft/permissionsigns/listener/SignListener.java @@ -53,6 +53,8 @@ public class SignListener implements Listener { Sign sign = (Sign) block.getState(); if (event.getHand() == EquipmentSlot.HAND) { + // Cancel the interaction to avoid sign editing + event.setCancelled(true); handleSignClick(sign, player, event.getAction(), event); } }