added toString method
parent
bd923200d9
commit
8583d80045
|
@ -737,6 +737,11 @@ public class MagicCardDefinition {
|
|||
getText().toLowerCase().contains(s)
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
public static final Comparator<MagicCardDefinition> NAME_COMPARATOR_DESC=new Comparator<MagicCardDefinition>() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue