/* The PlayerInteractEvent has different types of action. In particular, RIGHT_CLICK_BLOCK and RIGHT_CLICK_AIR can be called 2 times, as there's the click with the main hand and the click with the secondary hand. You therefore need to specify which hand you want to use like as follows: */ @EventHandler public void onPlayerClickWithStick(PlayerInteractEvent event) { EquipmentSlot e = event.getHand(); // Exclude secondary hand if (!e.equals(EquipmentSlot.OFF_HAND)) return; // Your code here ... }