mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-19 03:49:21 +00:00
Tweak: calculate correct hash for base64 texture
This commit is contained in:
1 parent
a3de21497d
commit
583bf1fe6a
1 file changed
+1
-1
@@ -94,7 +94,7 @@ public class HttpTextureUtil {
|
||||
}
|
||||
|
||||
public static String getHash(byte[] bytes) {
|
||||
return DigestUtils.sha1Hex(bytes);
|
||||
return DigestUtils.sha256Hex(bytes);
|
||||
}
|
||||
|
||||
public static File getCacheFile(String hash) {
|
||||
|
||||
Reference in new issue
Block a user