mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
Fixed error with no abilities
This commit is contained in:
parent
b3ec79f467
commit
a249dcffd8
1 changed files with 2 additions and 1 deletions
|
|
@ -83,6 +83,7 @@ public class EntersBattlefieldAbility extends StaticAbility {
|
|||
return abilityRule;
|
||||
}
|
||||
String superRule = super.getRule();
|
||||
return (optional ? "you may have " : "") + "{this} enter" + (optional ? "" : "s") + " the battlefield" + (superRule.charAt(0) == ' ' ? "" : " ") + superRule;
|
||||
return (optional ? "you may have " : "") + "{this} enter" + (optional ? "" : "s") + " the battlefield"
|
||||
+ (!superRule.isEmpty() && superRule.charAt(0) == ' ' ? "" : " ") + superRule;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue