fix: use more robust method of finding matches for major version

This uses the proper version list to find all MC versions matching the
major number (_don't say anything about SemVer_ 🔫).

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-07-30 17:38:02 -03:00
parent 1b0ca47682
commit 8a65726e9d
4 changed files with 45 additions and 4 deletions

View File

@ -66,6 +66,7 @@ public:
QString humanReadable() const;
VersionPtr getVersion(const QString &version);
bool hasVersion(QString version) const;
QVector<VersionPtr> versions() const
{