Skip to content

Commit 821ef7b

Browse files
committed
Fixed an incorrect URL for announcing MC updates
Signed-off-by: KiriCattus <19393068+KiriCattus@users.noreply.github.com>
1 parent 4fc4590 commit 821ef7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commander/java/com/mcmoddev/mmdbot/commander/updatenotifiers/minecraft/MinecraftUpdateNotifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ protected EmbedBuilder getEmbed(@Nullable final VersionsInfo oldVersion, final @
7676
private VersionType getVersionType(VersionsInfo oldVersion, VersionsInfo newVersion) {
7777
if (!oldVersion.release().equals(newVersion.release())) {
7878
return VersionType.RELEASE;
79-
} else if (newVersion.snapshot().contains("-rc-")) {
79+
} else if (newVersion.snapshot().contains("-release-candidate-")) {
8080
return VersionType.RELEASE_CANDIDATE;
8181
} else if (newVersion.snapshot().contains("-pre")) {
8282
return VersionType.PRE_RELEASE;

0 commit comments

Comments
 (0)