mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 07:39:00 -04:00
Chore[tools]: add comment explaining the reasoning for ASM version replacement
This commit is contained in:
parent
607cf52d19
commit
5af69bc8fb
@ -666,6 +666,9 @@ public final class Tools {
|
|||||||
libItem.downloads.artifact.sha1 = "9e98cf55be371cafdb9c70c35d04ec2a8c2b42ac";
|
libItem.downloads.artifact.sha1 = "9e98cf55be371cafdb9c70c35d04ec2a8c2b42ac";
|
||||||
libItem.downloads.artifact.url = "https://repo1.maven.org/maven2/com/github/oshi/oshi-core/6.3.0/oshi-core-6.3.0.jar";
|
libItem.downloads.artifact.url = "https://repo1.maven.org/maven2/com/github/oshi/oshi-core/6.3.0/oshi-core-6.3.0.jar";
|
||||||
} else if (libItem.name.startsWith("org.ow2.asm:asm-all:")) {
|
} else if (libItem.name.startsWith("org.ow2.asm:asm-all:")) {
|
||||||
|
// Early versions of the ASM library get repalced with 5.0.4 because Pojav's LWJGL is compiled for
|
||||||
|
// Java 8, which is not supported by old ASM versions. Mod loaders like Forge, which depend on this
|
||||||
|
// library, often include lwjgl in their class transformations, which causes errors with old ASM versions.
|
||||||
if(Integer.parseInt(version[0]) >= 5) continue;
|
if(Integer.parseInt(version[0]) >= 5) continue;
|
||||||
Log.d(APP_NAME, "Library " + libItem.name + " has been changed to version 5.0.4");
|
Log.d(APP_NAME, "Library " + libItem.name + " has been changed to version 5.0.4");
|
||||||
createLibraryInfo(libItem);
|
createLibraryInfo(libItem);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user