Skip to content

Commit

Permalink
Fix moss modifier using up ammo instead of adding it
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Nov 1, 2014
1 parent 206e2ff commit f94d9bf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -14,7 +14,7 @@ public boolean damageTool(ItemStack stack, int damage, EntityLivingBase entity)
IAmmo ammo =(IAmmo)stack.getItem();
if(tags.getInteger("Damage") == 0)
{
int rem = ammo.consumeAmmo(1, stack);
int rem = ammo.addAmmo(1, stack);
if(rem > 0)
return true;
}
Expand Down

0 comments on commit f94d9bf

Please sign in to comment.