CreateTokenAttachSourceEffect - Remove redundant setText

This commit is contained in:
Daniel Bomar 2021-01-15 10:05:45 -06:00 committed by Oleg Agafonov
parent 96e02c29df
commit 0168453eed
2 changed files with 1 additions and 2 deletions

View file

@ -13,7 +13,6 @@ public class CreateTokenAttachSourceEffect extends CreateTokenEffect {
public CreateTokenAttachSourceEffect(Token token) {
super(token);
setText();
staticText = staticText.concat(", then attach {this} to it");
}

View file

@ -111,7 +111,7 @@ public class CreateTokenEffect extends OneShotEffect {
}
}
void setText() {
private void setText() {
StringBuilder sb = new StringBuilder("create ");
if (amount.toString().equals("1")) {
sb.append("a ");