Skip to content

Commit

Permalink
ignored nothing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Jun 21, 2024
1 parent b8c34f2 commit 19ef2a3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public void menuClick(InventoryClickEvent event) {
}
event.setCancelled(true);

if (event.getAction().equals(InventoryAction.NOTHING)) return;

var settings = plugin.brushController().getBrushSettings(player);

if (event.getRawSlot() == 10 || event.getRawSlot() == 1 || event.getRawSlot() == 19) {
Expand Down

0 comments on commit 19ef2a3

Please sign in to comment.