Update UpdateChecker for new version syntax

This commit is contained in:
Johannes Frohnmeyer 2021-12-01 16:40:03 +01:00
parent 6e9b839fee
commit b97d81b7a0
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class UpdateChecker {
experimental = info;
experimentalVersion = cvNew;
}
if (!info.version.contains("+") && (stableVersion == null || stableVersion.compareTo(cvNew) < 0)) {
if (!info.version.contains("-") && (stableVersion == null || stableVersion.compareTo(cvNew) < 0)) {
stable = info;
stableVersion = cvNew;
}