diff --git a/plugin/src/main/java/me/lucaaa/advanceddisplays/events/PlayerEventsListener.java b/plugin/src/main/java/me/lucaaa/advanceddisplays/events/PlayerEventsListener.java index 69e4921..98823dc 100644 --- a/plugin/src/main/java/me/lucaaa/advanceddisplays/events/PlayerEventsListener.java +++ b/plugin/src/main/java/me/lucaaa/advanceddisplays/events/PlayerEventsListener.java @@ -91,6 +91,7 @@ public void onPlayerInteract(PlayerInteractEvent event) { DisplaysManager manager = plugin.getDisplaysManager(); if (manager.isPlayerAttaching(player) && action == Action.RIGHT_CLICK_BLOCK) { + event.setCancelled(true); AttachedDisplay display = manager.getAttachingDisplay(player); ADTextDisplay newDisplay = manager.createAttachedDisplay(event, display); if (newDisplay == null) {