mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-12 13:07:35 +00:00
Fix Legacy Texture cannot refresh in cache
This commit is contained in:
1 parent
a36eca2a53
commit
f4030701ee
1 file changed
+2
-2
@@ -56,12 +56,12 @@ public class HttpTextureUtil {
|
||||
fakeUrl=fakeUrl.replace(LEGACY_MARK, "");
|
||||
info.url=fakeUrl;
|
||||
info.hash=DigestUtils.sha1Hex(info.url);
|
||||
info.cacheFile=HttpTextureUtil.getCacheFile(info.hash);
|
||||
info.cacheFile = HttpRequestUtil.getCacheFile(info.hash);
|
||||
return info;
|
||||
}
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
public static String getLegacyFakeUrl(String url){
|
||||
return LEGACY_MARK+url;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user