Switch to forge SRG (intermediary)

This commit is contained in:
Phoenix-Starlight 2023-10-26 07:46:59 -07:00
parent 5de5ab7db7
commit 0416d92519

View File

@ -31,7 +31,7 @@ public abstract class SkinManagerMixin {
@WrapOperation @WrapOperation
( (
// Mixes (un)obfuscated types // Mixes (un)obfuscated types
method = "method_4651", method = "m_118828_",
at = @At( at = @At(
value = "INVOKE", value = "INVOKE",
target = "Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;getHash()Ljava/lang/String;" target = "Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;getHash()Ljava/lang/String;"
@ -39,6 +39,6 @@ public abstract class SkinManagerMixin {
remap = false remap = false
) )
private String stashCachedHash(MinecraftProfileTexture texture, Operation<String> original) { private String stashCachedHash(MinecraftProfileTexture texture, Operation<String> original) {
return hashCache.computeIfAbsent(texture, k -> original.call()); return hashCache.computeIfAbsent(texture, k -> original.call(k));
} }
} }