forked from External/mage
Code clean
This commit is contained in:
parent
1dea98cf1f
commit
6882a9a49e
6 changed files with 56 additions and 33 deletions
|
|
@ -71,7 +71,7 @@ public abstract class Plane extends CommandObjectImpl {
|
|||
this.sourceObject = null;
|
||||
|
||||
// choose set code due source
|
||||
TokenInfo foundInfo = TokenRepository.instance.generateTokenInfoBySetCode(this.getClass().getName(), null);
|
||||
TokenInfo foundInfo = TokenRepository.instance.findPreferredTokenInfoForClass(this.getClass().getName(), null);
|
||||
if (foundInfo != null) {
|
||||
this.setExpansionSetCode(foundInfo.getSetCode());
|
||||
this.setCardNumber("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue