Fixed glitchy food

This commit is contained in:
Adam committed 2012-05-12 15:10:09 -04:00
1 parent ebde06137d
commit e20ea7c551
2 files changed
+2 -2

No files matched your search

@@ -92,7 +92,7 @@ public class PlayerListener extends EventListener
{
Player player = event.getPlayer();
PlayerInventory inv = player.getInventory();
if(event.getAction() == Action.RIGHT_CLICK_AIR)
if(event.getAction() == Action.RIGHT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_BLOCK)
{
Material m = inv.getItemInHand().getType();
if(m == Material.BOW)