Don't ignore canceled air right click events.

Apparently Bukkit pre-cancels them even if they would do something.
This commit is contained in:
wizjany 2013-03-31 19:09:48 -04:00
parent 7094f70f4a
commit 2a8131780f

View File

@ -601,10 +601,6 @@ private void handleBlockLeftClick(PlayerInteractEvent event) {
* @param event Thrown event
*/
private void handleAirRightClick(PlayerInteractEvent event) {
if (event.isCancelled()) {
return;
}
Player player = event.getPlayer();
World world = player.getWorld();
ItemStack item = player.getItemInHand();