mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Minor change to rule text generation.
This commit is contained in:
parent
ac1f6d5512
commit
36cd392a02
1 changed files with 3 additions and 1 deletions
|
@ -121,7 +121,9 @@ public class GainAbilityAllEffect extends ContinuousEffectImpl<GainAbilityAllEff
|
|||
sb.append(" gain ");
|
||||
}
|
||||
sb.append(ability.getRule());
|
||||
sb.append(" ").append(duration.toString());
|
||||
if (duration.toString().length() > 0) {
|
||||
sb.append(" ").append(duration.toString());
|
||||
}
|
||||
staticText = sb.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue