diff --git a/src/main/java/com/iridium/iridiumskyblock/listeners/PlayerInteractListener.java b/src/main/java/com/iridium/iridiumskyblock/listeners/PlayerInteractListener.java index 9a1d7b40e..7b8fe299b 100644 --- a/src/main/java/com/iridium/iridiumskyblock/listeners/PlayerInteractListener.java +++ b/src/main/java/com/iridium/iridiumskyblock/listeners/PlayerInteractListener.java @@ -48,6 +48,7 @@ public void onClick(PlayerInteractEvent event) { player.sendMessage(StringUtils.color(IridiumSkyblock.getInstance().getMessages().cannotBreakBlocks .replace("%prefix%", IridiumSkyblock.getInstance().getConfiguration().prefix) )); + event.setCancelled(true); return; }