Correction Migration avec Foundry14

Accès à méthode isNewerVersion à travers foundry.utils
This commit is contained in:
2026-05-02 16:32:19 +02:00
parent 7fb0ee1659
commit 9966a33524
3 changed files with 7 additions and 4 deletions

View File

@@ -786,6 +786,6 @@ export class Migrations {
}
compareVersions(a, b) {
return isNewerVersion(a.version, b.version) ? 1 : isNewerVersion(b.version, a.version) ? -1 : 0;
return foundry.utils.isNewerVersion(a.version, b.version) ? 1 : foundry.utils.isNewerVersion(b.version, a.version) ? -1 : 0;
}
}