Support Fabric for 1.14.1 (#53)

* Fix ClassCastException

* Support Fabric for 1.14.1

* Support Fabric for 1.14.1

* Use mapping file instead of hard code
This commit is contained in:
ZekerZhayard authored and Alexander Xia committed 2019-05-22 23:47:59 +08:00
1 parent edf6e241e4
commit 917f9f650b
12 files changed
+521 -2

No files matched your search

@@ -28,7 +28,7 @@ public class JavaUtil {
} catch (Exception ignored) {
}
}
return (URL[]) urls.toArray();
return urls.toArray(new URL[0]);
}
}
}