Skip to content

Commit

Permalink
forgot to set the event to cancelled (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
sh0inx authored Dec 28, 2024
1 parent 33381b1 commit 4508f3c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4508f3c

Please sign in to comment.