Fix bow not being able to fire, Closes #238

This commit is contained in:
Vincent Lee committed 2016-04-17 20:49:27 -05:00
1 parent 5d5109d6d1
commit d34e3453fe
1 file changed
+2 -2
@@ -87,9 +87,9 @@ public class ItemLivingwoodBow extends ItemBow implements IManaUsingItem {
ActionResult<ItemStack> ret = ForgeEventFactory.onArrowNock(stack, world, player, hand, flag);
if (ret != null) return ret;
if (!player.capabilities.isCreativeMode)
if (!player.capabilities.isCreativeMode && !flag)
{
return !flag ? new ActionResult<>(EnumActionResult.FAIL, stack) : new ActionResult<>(EnumActionResult.PASS, stack);
return new ActionResult<>(EnumActionResult.FAIL, stack);
}
else
{