Damage source tooltip for "Immune to damage" is incorrect
alcatrazEscapee opened this issue ยท 0 comments
TerraFirmaCraft/src/main/java/net/dries007/tfc/util/PhysicalDamageType.java
Lines 172 to 177 in 9faac14
This is a correct calculation, but since we already do 1.0 - (damage multiplier)
, the check for immune should be > 0.999999...
, as a 1.0
would mean 100%
which is immune.