Fix crystal bow not using mana, closes #2183

This commit is contained in:
Vincent Lee committed 2017-03-01 13:40:03 -06:00
1 parent 4814fc6bde
commit 63c93ebab4
1 file changed
+1 -1
@@ -43,6 +43,6 @@ public class ItemCrystalBow extends ItemLivingwoodBow {
void onFire(ItemStack stack, EntityLivingBase living, boolean infinity, EntityArrow arrow) {
arrow.pickupStatus = EntityArrow.PickupStatus.CREATIVE_ONLY;
if(living instanceof EntityPlayer)
ManaItemHandler.requestManaExactForTool(stack, (EntityPlayer) living, ARROW_COST / (infinity ? 2 : 1), false);
ManaItemHandler.requestManaExactForTool(stack, (EntityPlayer) living, ARROW_COST / (infinity ? 2 : 1), true);
}
}