All damage type lookups go through method

This commit is contained in:
2024-04-01 12:35:44 -04:00
parent 14ee83e147
commit 5ed497dd69
7 changed files with 7 additions and 7 deletions
@@ -49,7 +49,7 @@ public class DamageShieldEffectModifier extends AbstractEffectModifier {
amount *= (1 + mod);
}
Enum.DamageType dt = Enum.DamageType.valueOf(this.type);
Enum.DamageType dt = Enum.DamageType.GetDamageType(this.type);
if (dt != null) {