mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 10:19:08 +00:00
Final Fix to UrlSkins + Working Model Switch
Username Skins will take a long time to implement because of how 1.7.10 pulls skins from Minecraft's Servers.
This commit is contained in:
1 parent
59263e1ad9
commit
682f2be115
4 files changed
+3
-3
No files matched your search
@@ -274,7 +274,7 @@ public class RenderNPCInterface extends RenderLiving{
|
||||
}
|
||||
else if(npc.display.skinType == 1 && npc.display.playerProfile != null){
|
||||
Minecraft minecraft = Minecraft.getMinecraft();
|
||||
Map map = minecraft.func_152342_ad().func_152788_a(npc.display.playerProfile);
|
||||
Map map = minecraft.func_152342_ad().func_152788_a(npc.display.playerProfile);
|
||||
if (map.containsKey(Type.SKIN)){
|
||||
npc.textureLocation = minecraft.func_152342_ad().func_152792_a((MinecraftProfileTexture)map.get(Type.SKIN), Type.SKIN);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user