PlayerInteractEvent never returns RIGHT_CLICK_AIR or LEFT_CLICK_AIR

Discussion in 'Plugin Development' started by TheGamersCave, Jul 25, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    TheGamersCave

    I've been using the latest beta build to develop a simple plugin involving items with, and It seems like the "PlayerInteractEvent" only ever gets called when right clicking blocks, not the air. This is rather weird..
    Anyone able to help?

    Edit: Found the issue.
     
  2. I guess you need to hold an item in your hand to get a PlayerInteractEvent if you click in the air. Fists wont do it. I made a Plugin some time ago, which used this, so i guess i can recognize that it's just thrown if you hold an Item in your hand while clicking in air
     
Thread Status:
Not open for further replies.

Share This Page