mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Brood Sliver - Fixed a bug that happened by text generation.
This commit is contained in:
parent
6669d1780a
commit
9ece8a21f6
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ public class CreateTokenTargetEffect extends OneShotEffect {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getText(Mode mode) {
|
public String getText(Mode mode) {
|
||||||
|
if (staticText != null && !staticText.isEmpty()) {
|
||||||
|
return staticText;
|
||||||
|
}
|
||||||
StringBuilder sb = new StringBuilder("put ");
|
StringBuilder sb = new StringBuilder("put ");
|
||||||
if (amount.toString().equals("1")) {
|
if (amount.toString().equals("1")) {
|
||||||
sb.append("a");
|
sb.append("a");
|
||||||
|
|
Loading…
Reference in a new issue