forked from External/mage
fix getText() overrides ignoring staticText (#11044)
* fix text: SkipNextPlayerUntapStepEffect * remove old copyright info * individual card text fixes * fix overrides ignoring staticText
This commit is contained in:
parent
52eaa600ba
commit
869de1eac6
30 changed files with 63 additions and 426 deletions
|
|
@ -46,6 +46,9 @@ public class PlayTargetWithoutPayingManaEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public String getText(Mode mode) {
|
||||
if (staticText != null && !staticText.isEmpty()) {
|
||||
return staticText;
|
||||
}
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if (!mode.getTargets().isEmpty()) {
|
||||
Target target = mode.getTargets().get(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue