mirror of
https://github.com/correl/mage.git
synced 2025-04-04 17:00:13 -09:00
* Fixed a bug in table view sort.
This commit is contained in:
parent
3645aa6488
commit
65c9ca845e
1 changed files with 4 additions and 0 deletions
|
@ -228,6 +228,10 @@ class TableListSorter implements Comparator<Table> {
|
|||
if (one.getState().compareTo(two.getState()) != 0 ) {
|
||||
return one.getState().compareTo(two.getState());
|
||||
}
|
||||
} else if (!two.getState().equals(TableState.SIDEBOARDING) && !two.getState().equals(TableState.DUELING)) {
|
||||
if (one.getState().compareTo(two.getState()) != 0 ) {
|
||||
return one.getState().compareTo(two.getState());
|
||||
}
|
||||
}
|
||||
if (two.getEndTime() != null) {
|
||||
if (one.getEndTime() == null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue