mirror of
https://github.com/correl/mage.git
synced 2025-01-12 03:00:13 +00:00
Deck editor - Fixed a bug that the card list could not be sorted by color text.
This commit is contained in:
parent
e153c3adbf
commit
af2d55f8aa
1 changed files with 2 additions and 3 deletions
|
@ -26,11 +26,10 @@
|
|||
*/
|
||||
package mage.client.deckeditor.table;
|
||||
|
||||
import java.util.Comparator;
|
||||
import mage.cards.MageCard;
|
||||
import mage.view.CardView;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
/**
|
||||
* {@link MageCard} comparator. Used to sort cards in Deck Editor Table View
|
||||
* pane.
|
||||
|
@ -75,7 +74,7 @@ public class MageCardComparator implements Comparator<CardView> {
|
|||
// Color
|
||||
case 3:
|
||||
aCom = a.getColorText();
|
||||
bCom = a.getColorText();
|
||||
bCom = b.getColorText();
|
||||
break;
|
||||
// Type
|
||||
case 4:
|
||||
|
|
Loading…
Reference in a new issue