Bukkit/Bukkit — pull request #664 by ricochet1k (2012-08-15 01:39:22+00:00)
Title: Fix PlayerInteractEvent.isCancelled

If you simply do `event.setCancelled(event.getCancelled())` in a PlayerInteractEvent handler, players lose the ability to do many things, including eating, unless they have targetted a block.

The problem that has been addressed is that getCancelled was reporting true any time the players did not have a block highlighted. It now also checks if there is an item in hand set to be used.