mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 21:42:07 -08:00
CreateTokenAttachSourceEffect - Remove redundant setText
This commit is contained in:
parent
96e02c29df
commit
0168453eed
2 changed files with 1 additions and 2 deletions
|
|
@ -13,7 +13,6 @@ public class CreateTokenAttachSourceEffect extends CreateTokenEffect {
|
|||
|
||||
public CreateTokenAttachSourceEffect(Token token) {
|
||||
super(token);
|
||||
setText();
|
||||
staticText = staticText.concat(", then attach {this} to it");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue