mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 18:34:56 -04:00
launcher version dropdown: fix wrong sorting of versions
This commit is contained in:
parent
aec14fa573
commit
7fe2cacbef
@ -39,7 +39,7 @@ public class GUITools {
|
|||||||
if (a.getVersionId() == -1) {
|
if (a.getVersionId() == -1) {
|
||||||
return -Integer.MAX_VALUE;
|
return -Integer.MAX_VALUE;
|
||||||
}
|
}
|
||||||
return (a.getVersionId() - b.getVersionId());
|
return -(a.getVersionId() - b.getVersionId());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user