|
.append("\n Caution, you are using a broken build that can cause critical crashes! Please, redownload the mod, or update it if there is an update available.") |
|
.append("\n\n ").append(EnumChatFormatting.GRAY).append(downloadURL); |
|
|
|
for(String s:message.toString().split("\n"))HardcoreEnderExpansion.notifications.report(s,true); |
|
} |
|
else if (counter > 0 && UpdateNotificationManager.enableNotifications){ |
|
StringBuilder message = new StringBuilder() |
|
.append(EnumChatFormatting.LIGHT_PURPLE).append(" [Hardcore Ender Expansion ").append(modVersion).append("]").append(EnumChatFormatting.RESET) |
|
.append("\n Found a new version ").append(EnumChatFormatting.GREEN).append(newestVersionForCurrentMC.modVersionName).append(EnumChatFormatting.RESET) |
|
.append(" for Minecraft ").append(mcVersion).append(", released ").append(newestVersionForCurrentMC.releaseDate) |
|
.append(". You are currently ").append(counter).append(" version").append(counter == 1 ? "" : "s").append(" behind."); |
|
|
|
if (newestVersion != newestVersionForCurrentMC){ |
|
message.append("\n\n There is also an update ").append(EnumChatFormatting.GREEN).append(newestVersion.modVersion).append(EnumChatFormatting.RESET) |
|
.append(" for Minecraft ").append(CommandBase.joinNiceString(newestVersion.mcVersions)).append('.'); |
|
} |
|
|
|
message.append("\n\n ").append(EnumChatFormatting.GRAY).append(downloadURL); |
|
|
|
for(String s:message.toString().split("\n"))HardcoreEnderExpansion.notifications.report(s,true); |
|
} |
|
else if (newestVersion != newestVersionForCurrentMC && UpdateNotificationManager.enableNotifications){ |
|
StringBuilder message = new StringBuilder() |
|
.append(EnumChatFormatting.LIGHT_PURPLE).append(" [Hardcore Ender Expansion ").append(modVersion).append("]").append(EnumChatFormatting.RESET) |
|
.append("\n Found a new version ").append(EnumChatFormatting.GREEN).append(newestVersion.modVersion).append(EnumChatFormatting.RESET) |
|
.append(" for Minecraft ").append(CommandBase.joinNiceString(newestVersion.mcVersions)).append(", released ").append(newestVersion.releaseDate) |