diff --git a/Essentials/src/main/java/com/earth2me/essentials/updatecheck/UpdateChecker.java b/Essentials/src/main/java/com/earth2me/essentials/updatecheck/UpdateChecker.java index c4a710bc9..a56e3f945 100644 --- a/Essentials/src/main/java/com/earth2me/essentials/updatecheck/UpdateChecker.java +++ b/Essentials/src/main/java/com/earth2me/essentials/updatecheck/UpdateChecker.java @@ -44,7 +44,7 @@ public final class UpdateChecker { if (inputStream != null) { final List versionStr = new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8)).lines().collect(Collectors.toList()); if (versionStr.size() == 2) { - if (versionStr.get(0).matches("\\d+\\.\\d+\\.\\d+-dev\\+\\d+-[0-9a-f]{7,40}")) { + if (versionStr.get(0).matches("\\d+\\.\\d+\\.\\d+-(?:dev|rc|beta|alpha)\\+\\d+-[0-9a-f]{7,40}")) { identifier = versionStr.get(0).split("-")[2]; dev = true; } else {