From d61a55b661cbc0e433c4d4b5686f1ee3c0c8bd55 Mon Sep 17 00:00:00 2001 From: simon816 Date: Sat, 8 Aug 2015 21:59:44 +0100 Subject: [PATCH] Use already provided profile for the player's own skin --- .../client/resources/SkinManager.java.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/minecraft/net/minecraft/client/resources/SkinManager.java.patch diff --git a/patches/minecraft/net/minecraft/client/resources/SkinManager.java.patch b/patches/minecraft/net/minecraft/client/resources/SkinManager.java.patch new file mode 100644 index 000000000..9784b8e90 --- /dev/null +++ b/patches/minecraft/net/minecraft/client/resources/SkinManager.java.patch @@ -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()