Skip to content

Commit

Permalink
Fix base-durability for arrows and bolts not getting set correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Dec 22, 2014
1 parent fb2c2be commit ab329cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/tconstruct/weaponry/WeaponryHandler.java
Expand Up @@ -262,6 +262,7 @@ public void buildBolt(ToolBuildEvent event)
private void setAmmoData(NBTTagCompound tags, int durability, float weight, float breakChance, float accuracy, float shoddy, int reinforced)
{
tags.setInteger("TotalDurability", durability);
tags.setInteger("BaseDurability", durability);
tags.setFloat("Mass", weight);
tags.setFloat("BreakChance", breakChance);
tags.setFloat("Accuracy", accuracy);
Expand Down

0 comments on commit ab329cd

Please sign in to comment.