mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-25 04:04:25 +00:00
Support 1.21. (#297)
This commit is contained in:
1 parent
cd1922844c
commit
64490f1d18
90 files changed
+733
-375
No files matched your search
@@ -40,7 +40,7 @@ public class MinecraftUtil {
|
||||
}
|
||||
|
||||
//version.json can be found in 1.14+
|
||||
URL versionFile = MinecraftUtil.class.getResource("/version.json");
|
||||
URL versionFile = ClassLoader.getSystemClassLoader().getResource("version.json");
|
||||
if (versionFile != null) {
|
||||
try (
|
||||
InputStream is = versionFile.openStream();
|
||||
|
||||
Reference in new issue
Block a user