Uppercasew for resist enum

This commit is contained in:
2024-03-08 10:21:31 -05:00
parent ffdf374cd6
commit 7d1d8891ff
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -164,9 +164,9 @@ public class Resists {
return phys;
if (armor.template.item_type.equals(Enum.ItemType.ARMOR)) {
phys[0] += armor.template.combat_attack_resist.get("Slashing");
phys[1] += armor.template.combat_attack_resist.get("Crushing");
phys[2] += armor.template.combat_attack_resist.get("Piercing");
phys[0] += armor.template.combat_attack_resist.get("SLASHING");
phys[1] += armor.template.combat_attack_resist.get("CRUSHING");
phys[2] += armor.template.combat_attack_resist.get("PIERCING");
}
return phys;