Uppercasew for resist enum
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user