mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
GUI: added mana and other symbols support in choose spell dialog (closes #12155)
This commit is contained in:
parent
521a0f6e32
commit
2bf6e3e3a2
7 changed files with 26 additions and 36 deletions
|
|
@ -1520,8 +1520,7 @@ public class CardView extends SimpleCardView {
|
|||
}
|
||||
|
||||
public String getColorText() {
|
||||
String colorText = getColor().getDescription();
|
||||
return colorText.substring(0, 1).toUpperCase(Locale.ENGLISH) + colorText.substring(1);
|
||||
return CardUtil.getTextWithFirstCharUpperCase(getColor().getDescription());
|
||||
}
|
||||
|
||||
public String getTypeText() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue