mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 09:55:11 +00:00
Fixed Missing Texture Error
FIxed the Missing Texture Bug Started to work on Reset Buttons
This commit is contained in:
1 parent
8d455c329b
commit
169eba238b
3 files changed
+31
-7
No files matched your search
@@ -267,8 +267,11 @@ public class RenderNPCInterface extends RenderLiving{
|
||||
|
||||
EntityNPCInterface npc = (EntityNPCInterface) entity;
|
||||
if(npc.textureLocation == null){
|
||||
if(npc.display.skinType == 0)
|
||||
npc.textureLocation = new ResourceLocation(npc.display.texture);
|
||||
if(npc.display.skinType == 0) {
|
||||
if (!(npc.display.texture).equals("")) {
|
||||
npc.textureLocation = new ResourceLocation(npc.display.texture);
|
||||
}
|
||||
}
|
||||
else if(LastTextureTick < 5){ //fixes request flood somewhat
|
||||
return AbstractClientPlayer.locationStevePng;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user