Use already provided profile for the player's own skin
This commit is contained in:
parent
57d575f941
commit
d61a55b661
1 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
|||
--- ../src-base/minecraft/net/minecraft/client/resources/SkinManager.java
|
||||
+++ ../src-work/minecraft/net/minecraft/client/resources/SkinManager.java
|
||||
@@ -129,7 +129,9 @@
|
||||
|
||||
if (hashmap.isEmpty() && p_152790_1_.getId().equals(Minecraft.func_71410_x().func_110432_I().func_148256_e().getId()))
|
||||
{
|
||||
- hashmap.putAll(SkinManager.this.field_152797_e.getTextures(SkinManager.this.field_152797_e.fillProfileProperties(p_152790_1_, false), false));
|
||||
+ // FORGE: Use already filled profile from session rather
|
||||
+ // than getting rate limited by filling the input profile
|
||||
+ hashmap.putAll(SkinManager.this.field_152797_e.getTextures(Minecraft.func_71410_x().func_110432_I().func_148256_e(), false));
|
||||
}
|
||||
|
||||
Minecraft.func_71410_x().func_152344_a(new Runnable()
|
Loading…
Reference in a new issue