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:
parent
af3b291fdc
commit
be88acdae9
@ -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 {
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user