1
0
mirror of https://github.com/chylex/Java-Checker.git synced 2025-06-03 17:34:07 +02:00

Quick fix

This commit is contained in:
chylex 2015-02-07 21:07:18 +01:00
parent af3b291fdc
commit be88acdae9
2 changed files with 4 additions and 4 deletions
build.gradle
src/main/java/chylex/javacheck/report

View File

@ -19,7 +19,7 @@ apply plugin: 'forge'
version = ""
group = "chylex.java7check"
archivesBaseName = "Java7Checker MC-1.8 v1.1"
archivesBaseName = "Java7Checker MC-1.8+ v1.1"
minecraft {
version = "1.8-11.14.1.1306"
@ -40,7 +40,7 @@ task java8Jar(type: Jar, dependsOn: "jar") {
attributes 'FMLCorePlugin': 'chylex.javacheck.Java8CheckerCoremod'
}
baseName = "Java8Checker MC-1.8 v1.1"
baseName = "Java8Checker MC-1.8+ v1.1"
}
reobf {

View File

@ -26,7 +26,7 @@ public final class JavaCheckerReporter implements IFMLCallHook{
static String getConsoleReport(){
return new StringBuilder(242).append("\n")
.append("\n!! DO NOT REPORT !!\n\n")
.append("One of the mods requires Java 1.7 or newer, you are using ").append(SystemUtils.JAVA_VERSION).append(".\n")
.append("One of the mods requires Java "+minVersion.toString()+" or newer, you are using ").append(SystemUtils.JAVA_VERSION).append(".\n")
.append("Visit https://java.com/download/ for the latest version.\n")
.append("Please, uninstall the old version first to prevent further issues.")
.append("\n\n!! DO NOT REPORT !!\n")
@ -35,7 +35,7 @@ public final class JavaCheckerReporter implements IFMLCallHook{
static String getWindowReport(){
return new StringBuilder(230)
.append("One of the mods requires Java 1.7 or newer, you are using ").append(SystemUtils.JAVA_VERSION).append(".<br>")
.append("One of the mods requires Java "+minVersion.toString()+" or newer, you are using ").append(SystemUtils.JAVA_VERSION).append(".<br>")
.append("Visit <span style=\"color:red\">https://java.com/download/</span> for the latest version.<br>")
.append("Please, uninstall the old version first to prevent further issues.")
.toString();