mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Fix ammo items getting damage on death
This commit is contained in:
1 parent
c5789432a3
commit
cbcac3b5f0
1 file changed
+3
@@ -29,6 +29,9 @@ public class WeaponryActiveToolMod extends ActiveToolMod {
|
||||
}
|
||||
}
|
||||
}
|
||||
// all other ammo items can't be damaged
|
||||
else if(stack.getItem() instanceof IAmmo)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user