mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-11 21:57:33 +00:00
Fix compatibility with ModLauncher 1.1 (#57)
This commit is contained in:
1 parent
b7107b7172
commit
29a0952bc4
1 file changed
+1
-1
@@ -24,7 +24,7 @@ public class JavaUtil {
|
||||
LinkedList<URL> urls = new LinkedList<URL>();
|
||||
for (String ele : elements) {
|
||||
try {
|
||||
urls.add(new URL(ele));
|
||||
urls.add(new File(ele).toURI().toURL());
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user