All damage type lookups go through method

This commit is contained in:
MagicBot committed 2024-04-01 12:35:44 -04:00
1 parent 14ee83e147
commit 5ed497dd69
7 files changed
+7 -7

No files matched your search

@@ -78,7 +78,7 @@ public class TransferStatPowerAction extends AbstractPowerAction {
// Damage type can sometimes be null in the DB.
if (damageString.isEmpty() == false)
this.damageType = Enum.DamageType.valueOf(damageString);
this.damageType = Enum.DamageType.GetDamageType(damageString);
} catch (Exception e) {
this.damageType = null;
}