mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
The glow texture selection GUI now correctly starts the player out at the "customnpcs:textures/overlays/" directory.
This commit is contained in:
1 parent
f52721dc8f
commit
9a76c9a68d
1 file changed
+1
-2
@@ -11,8 +11,7 @@ import org.lwjgl.opengl.GL11;
|
||||
|
||||
public class GuiNpcTextureOverlays extends GuiNpcSelectionInterface{
|
||||
public GuiNpcTextureOverlays(EntityNPCInterface npc,GuiScreen parent){
|
||||
//super(npc, parent, npc.display.glowTexture.isEmpty()?"customnpcs:textures/overlays/":npc.display.glowTexture);
|
||||
super(npc, parent, npc.display.skinOverlayData.overlayList.containsKey(0) ? npc.display.skinOverlayData.overlayList.get(0).getTexture() : "");
|
||||
super(npc, parent, npc.display.skinOverlayData.overlayList.containsKey(0) ? !npc.display.skinOverlayData.overlayList.get(0).getTexture().isEmpty() ? npc.display.skinOverlayData.overlayList.get(0).getTexture() : "customnpcs:textures/overlays/" : "customnpcs:textures/overlays/");
|
||||
title = "Select Overlay";
|
||||
this.parent = parent;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user