Fixed overlays not able to be removed in the GUI

This commit is contained in:
Luis C.M committed 2022-06-15 13:08:54 -05:00
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){