mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 07:05:40 -04:00
Not separate LWJGL2 and 3 classpath
This commit is contained in:
parent
cf06c919fd
commit
e99c608434
@ -332,21 +332,21 @@ public final class Tools
|
|||||||
String[] classpath = generateLibClasspath(info);
|
String[] classpath = generateLibClasspath(info);
|
||||||
|
|
||||||
// Debug: LWJGL 3 override
|
// Debug: LWJGL 3 override
|
||||||
File lwjgl2Folder = new File(Tools.MAIN_PATH, "lwjgl2");
|
// File lwjgl2Folder = new File(Tools.MAIN_PATH, "lwjgl2");
|
||||||
File lwjgl3Folder = new File(Tools.MAIN_PATH, "lwjgl3");
|
File lwjgl3Folder = new File(Tools.MAIN_PATH, "lwjgl3");
|
||||||
if (info.arguments != null && lwjgl3Folder.exists()) {
|
if (/* info.arguments != null && */ lwjgl3Folder.exists()) {
|
||||||
for (File file: lwjgl3Folder.listFiles()) {
|
for (File file: lwjgl3Folder.listFiles()) {
|
||||||
if (file.getName().endsWith(".jar")) {
|
if (file.getName().endsWith(".jar")) {
|
||||||
libStr.append(file.getAbsolutePath() + ":");
|
libStr.append(file.getAbsolutePath() + ":");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (lwjgl2Folder.exists()) {
|
} /* else if (lwjgl2Folder.exists()) {
|
||||||
for (File file: lwjgl2Folder.listFiles()) {
|
for (File file: lwjgl2Folder.listFiles()) {
|
||||||
if (file.getName().endsWith(".jar")) {
|
if (file.getName().endsWith(".jar")) {
|
||||||
libStr.append(file.getAbsolutePath() + ":");
|
libStr.append(file.getAbsolutePath() + ":");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} */
|
||||||
|
|
||||||
if (isClientFirst) {
|
if (isClientFirst) {
|
||||||
libStr.append(getPatchedFile(version));
|
libStr.append(getPatchedFile(version));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user