Revert "NPC Skin Changes"

This commit is contained in:
Luis C.M authored and GitHub committed 2022-05-29 00:59:40 -05:00
1 parent 3b6668ea15
commit fd0a99b3ed
13 files changed
+64 -106

No files matched your search

@@ -129,14 +129,12 @@ public class GuiNpcDisplay extends GuiNPCInterface2 implements ITextfieldListene
display.cloakTexture = textfield.getText();
}
else if(textfield.id == 9){
//npc.textureGlowLocation = null;
npc.textureGlowLocation = null;
//display.glowTexture = textfield.getText();
if (!textfield.getText().isEmpty()) {
npc.display.skinOverlayData.overlayList.put(0, new SkinOverlay(
textfield.getText(), true, 1.0F, 1.0F, 0.0F, 0.0F,
1.0F, 1.0F, 0.0F, 0.0F, 0.0F
));
}
npc.display.skinOverlayData.overlayList.put(0,new SkinOverlay(
textfield.getText(), true, 1.0F, 1.0F, 0.0F, 0.0F,
1.0F, 1.0F, 0.0F, 0.0F, 0.0F
));
}
else if(textfield.id == 11){
display.title = textfield.getText();