mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 07:17:27 +00:00
Fixed overlays not able to be removed in the GUI
This commit is contained in:
1 parent
50e911bd82
commit
4a32f76b70
1 file changed
+2
@@ -133,6 +133,8 @@ public class GuiNpcDisplay extends GuiNPCInterface2 implements ITextfieldListene
|
||||
//display.glowTexture = textfield.getText();
|
||||
if (!textfield.getText().isEmpty()) {
|
||||
npc.display.skinOverlayData.overlayList.put(0,new SkinOverlay(textfield.getText()));
|
||||
} else {
|
||||
npc.display.skinOverlayData.overlayList.remove(0);
|
||||
}
|
||||
}
|
||||
else if(textfield.id == 11){
|
||||
|
||||
Reference in new issue
Block a user