Tidy up
This commit is contained in:
parent
65201cbb02
commit
abaa442a3b
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,5 +31,4 @@ public abstract class YggdrasilGsonDeserializerMixin {
|
|||
((ICachedProfileTexture)texture).setCachedHash(url);
|
||||
return url;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ package org.embeddedt.modernfix.duck;
|
|||
|
||||
public interface ICachedProfileTexture {
|
||||
public void setCachedHash(String url);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user