Use already provided profile for the player's own skin

This commit is contained in:
simon816 2015-08-08 21:59:44 +01:00
parent 57d575f941
commit d61a55b661

View file

@ -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()