mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Fix moss modifier using up ammo instead of adding it
This commit is contained in:
1 parent
206e2ffe0a
commit
f94d9bf351
1 file changed
+1
-1
@@ -14,7 +14,7 @@ public class WeaponryActiveToolMod extends ActiveToolMod {
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user