mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 00:59:35 -04:00
Fix: improper Java 8 version check
This commit is contained in:
parent
1ecbb6bd25
commit
9ace759005
@ -147,7 +147,7 @@ public final class Tools {
|
||||
|
||||
List<String> javaArgList = new ArrayList<String>();
|
||||
|
||||
getCacioJavaArgs(javaArgList, JREUtils.jreReleaseList.get("JAVA_VERSION").equals("1.8.0"));
|
||||
getCacioJavaArgs(javaArgList, JREUtils.jreReleaseList.get("JAVA_VERSION").startsWith("1.8.0"));
|
||||
|
||||
/*
|
||||
int mcReleaseDate = Integer.parseInt(versionInfo.releaseTime.substring(0, 10).replace("-", ""));
|
||||
|
Loading…
x
Reference in New Issue
Block a user