This commit is contained in:
Phoenix-Starlight 2023-10-16 20:34:47 -07:00
parent 65201cbb02
commit abaa442a3b
3 changed files with 4 additions and 4 deletions

View File

@ -21,6 +21,7 @@ public abstract class MinecraftProfileTextureMixin implements ICachedProfileText
* @author Fury_Phoenix
* @see org.embeddedt.modernfix.common.mixin.perf.cache_profile_texture_url.YggdrasilGsonDeserializerMixin#setCachedURL
**/
private String modernfix$cachedHash;
@Inject(method = "<init>(Ljava/lang/String;Ljava/util/Map;)V", at = @At("RETURN"), cancellable = false)
@ -41,4 +42,4 @@ public abstract class MinecraftProfileTextureMixin implements ICachedProfileText
}
return this.modernfix$cachedHash;
}
}
}

View File

@ -31,5 +31,4 @@ public abstract class YggdrasilGsonDeserializerMixin {
((ICachedProfileTexture)texture).setCachedHash(url);
return url;
}
}
}

View File

@ -2,4 +2,4 @@ package org.embeddedt.modernfix.duck;
public interface ICachedProfileTexture {
public void setCachedHash(String url);
}
}