mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-18 02:15:10 +00:00
Revision 14
Local skin supported Local profile cache supported Better profile cache Swifter official profile loading Better skull loading Fix legacy loading bug Fix bug while using ClassTransformer
This commit is contained in:
1 parent
b34a5b3343
commit
5c12463c94
30 files changed
+766
-751
No files matched your search
@@ -68,4 +68,16 @@ public class MinecraftUtil {
|
||||
break;
|
||||
}
|
||||
}
|
||||
public static boolean isCoreFile(URL url){
|
||||
Matcher m = null;
|
||||
try{
|
||||
m=MINECRAFT_CORE_FILE_PATTERN.matcher(URLDecoder.decode(url.getPath(),"UTF-8"));
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
return false;
|
||||
}
|
||||
if(m==null)
|
||||
return false;
|
||||
return m.matches();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user