Problem/Bug Right Click Air doesn't work again :/

Discussion in 'Plugin Help/Development/Requests' started by Goty_Metal, Jul 3, 2016.

Thread Status:
Not open for further replies.
  1. On 1.8, you had to use (ignoreCancelled = false) because right clicks with air (empty hand) were cancelled by default, but now in 1.10.2 nothing works, tried (priority = EventPriority.MONITOR) and ignoreCancelled too, example:

    Code:
      @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = false)
       public void playerInteraction(PlayerInteractEvent e) {
           Bukkit.broadcastMessage("Works");
       }
    YES i've registered the events, in fact, i get the "Works" message with any other interaction, left clicks, right clicks with SOME item in my hand... but can't get it if i right click with my emtpy hand.

    Any ideas? thanks!
     
Thread Status:
Not open for further replies.

Share This Page