Fixed Missing Texture Error

FIxed the Missing Texture Bug
Started to work on Reset Buttons
This commit is contained in:
KAMKEEL committed 2021-05-09 02:58:18 -04:00
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;
}