mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Fix unlockable sets sorting.
This commit is contained in:
@@ -147,7 +147,7 @@ public class QuestUtilUnlockSets {
|
|||||||
continue;
|
continue;
|
||||||
long distance = Integer.MAX_VALUE;
|
long distance = Integer.MAX_VALUE;
|
||||||
for (CardEdition in : allowedSets) {
|
for (CardEdition in : allowedSets) {
|
||||||
long d = Math.abs(ex.getDate().getTime() - in.getDate().getTime());
|
long d = (Math.abs(ex.getDate().getTime() - in.getDate().getTime())) / 10000;
|
||||||
if (d < distance) {
|
if (d < distance) {
|
||||||
distance = d;
|
distance = d;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user