fix my mistake

This commit is contained in:
DarthArgus
2018-03-23 15:46:44 -07:00
committed by CekisSWG
parent c767eb0894
commit db389df3c0
@@ -3315,7 +3315,7 @@ public class combat extends script.base_script
if (weaponData == null)
{
CustomerServiceLog("COMBAT_exception", "getAttackerCritMod: Player %TU caused an exception with bad cached data on weapon " + weapon + "/" + getTemplateName(weapon), attacker);
return 0.0; // fuck you
return (float) 0; // fuck you
}
boolean isRangedAttacker = isRangedWeapon(weapon);
if (isRangedAttacker)