mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 17:15:40 -04:00
[Version Json processor] Bug fix: infinitive add/set libraries cause modded version stuck at "Waiting" when launch
This commit is contained in:
parent
08c860e285
commit
6da3fa2783
@ -513,8 +513,10 @@ public final class Tools
|
|||||||
String libAddedName = libAdded.name.substring(0, libAdded.name.lastIndexOf(":"));
|
String libAddedName = libAdded.name.substring(0, libAdded.name.lastIndexOf(":"));
|
||||||
if (libAddedName.equals(libName)) {
|
if (libAddedName.equals(libName)) {
|
||||||
libList.set(i, lib);
|
libList.set(i, lib);
|
||||||
|
break;
|
||||||
} else {
|
} else {
|
||||||
libList.add(lib);
|
libList.add(lib);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user