toUppercase()
This commit is contained in:
@@ -79,7 +79,7 @@ public class TransferStatPowerAction extends AbstractPowerAction {
|
||||
// Damage type can sometimes be null in the DB.
|
||||
|
||||
if (damageString.isEmpty() == false)
|
||||
this.damageType = SourceType.valueOf(damageString);
|
||||
this.damageType = SourceType.valueOf(damageString.toUpperCase());
|
||||
} catch (Exception e) {
|
||||
this.damageType = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user