diff --git a/advancedregionmarket/src/main/java/net/alex9849/arm/handler/listener/SignClickListener.java b/advancedregionmarket/src/main/java/net/alex9849/arm/handler/listener/SignClickListener.java index 1315dc63..ffa3e59e 100644 --- a/advancedregionmarket/src/main/java/net/alex9849/arm/handler/listener/SignClickListener.java +++ b/advancedregionmarket/src/main/java/net/alex9849/arm/handler/listener/SignClickListener.java @@ -39,13 +39,13 @@ public void interactEvent(PlayerInteractEvent event) { } if (event.getAction() == Action.RIGHT_CLICK_BLOCK) { + event.setCancelled(true); if (event.getPlayer().isSneaking()) { this.handleSignCmd(region, AdvancedRegionMarket.getInstance().getPluginSettings().getSignRightClickSneakCommand(), event); } else { this.handleSignCmd(region, AdvancedRegionMarket.getInstance().getPluginSettings().getSignRightClickNotSneakCommand(), event); } } else if (event.getAction() == Action.LEFT_CLICK_BLOCK) { - event.setCancelled(true); if (event.getPlayer().isSneaking()) { this.handleSignCmd(region, AdvancedRegionMarket.getInstance().getPluginSettings().getSignLeftClickSneakCommand(), event); } else {