Switch back to intermediary names
This commit is contained in:
parent
cb69332072
commit
5de5ab7db7
|
|
@ -30,16 +30,13 @@ public abstract class SkinManagerMixin {
|
||||||
|
|
||||||
@WrapOperation
|
@WrapOperation
|
||||||
(
|
(
|
||||||
method =
|
// Mixes (un)obfuscated types
|
||||||
"name = registerTexture " +
|
method = "method_4651",
|
||||||
// Target the lone overload that has a SkinTextureAvailableCallBack
|
|
||||||
"desc = /\\(net\\/minecraft\\/class_1071\\$class_1072;\\)/",
|
|
||||||
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;"
|
||||||
remap = false
|
|
||||||
),
|
),
|
||||||
allow = 1
|
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());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user