prayagainstplayer: Weaponname can never be null here

This commit is contained in:
sdburns1998
2019-07-07 17:45:46 +02:00
parent a82d3f08c4
commit e92e09dd4f

View File

@@ -54,7 +54,7 @@ enum WeaponType
{
return WEAPON_MELEE;
}
if (weaponNameGivenLowerCase == null || weaponNameGivenLowerCase.toLowerCase().contains("null"))
if (weaponNameGivenLowerCase.toLowerCase().contains("null"))
{
return WEAPON_MELEE;
}