Fix ammo items getting damage on death

This commit is contained in:
Bernhard Bonigl committed 2014-11-08 11:38:31 +01:00
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;
}