mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
Small fix to renderer.
This commit is contained in:
parent
b2895ee9eb
commit
629da22dd9
1 changed files with 3 additions and 4 deletions
|
|
@ -349,12 +349,11 @@ public abstract class CardRenderer {
|
|||
// Get a string representing the type line
|
||||
protected String getCardTypeLine() {
|
||||
if (cardView.isAbility()) {
|
||||
switch (cardView.getAbilityType()) {
|
||||
case TRIGGERED:
|
||||
if (AbilityType.TRIGGERED.equals(cardView.getAbilityType())) {
|
||||
return "Triggered Ability";
|
||||
case ACTIVATED:
|
||||
} else if (AbilityType.ACTIVATED.equals(cardView.getAbilityType())) {
|
||||
return "Activated Ability";
|
||||
default:
|
||||
} else {
|
||||
return "??? Ability";
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue