mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-10-26 14:24:22 +00:00
Fix bow not being able to fire, Closes #238
This commit is contained in:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user