mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
Converted first char of rule text to uppercase for SpellAbility.
This commit is contained in:
parent
baba5a283b
commit
4dfadb3ea1
1 changed files with 5 additions and 1 deletions
|
|
@ -102,7 +102,11 @@ public class AbilitiesImpl<T extends Ability> extends ArrayList<T> implements Ab
|
||||||
}
|
}
|
||||||
rules.add(sbRule.toString());
|
rules.add(sbRule.toString());
|
||||||
}
|
}
|
||||||
rules.add(ability.getRule());
|
String rule = ability.getRule();
|
||||||
|
if (rule.length() > 1) {
|
||||||
|
rule = rule.substring(0, 1).toUpperCase() + rule.substring(1);
|
||||||
|
}
|
||||||
|
rules.add(rule);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue