mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Fix unlockable sets sorting.
This commit is contained in:
@@ -147,7 +147,7 @@ public class QuestUtilUnlockSets {
|
||||
continue;
|
||||
long distance = Integer.MAX_VALUE;
|
||||
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) {
|
||||
distance = d;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user