mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Fix crystal bow not using mana, closes #2183
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user