Fix Close on ESC Outline and Tag Select

This commit is contained in:
Kam committed 2026-03-10 01:37:46 -04:00
1 parent 3d1a0b5418
commit b05a028137
1 file changed
+5
@@ -38,6 +38,7 @@ public class SubGuiTagSelect extends SubGuiInterface implements IScrollData, ICu
public SubGuiTagSelect(HashSet<UUID> tagUUIDs) {
this.tagUUIDs = tagUUIDs;
setBackground("menubg.png");
closeOnEsc = true;
xSize = 430;
ySize = 220;
@@ -142,6 +143,10 @@ public class SubGuiTagSelect extends SubGuiInterface implements IScrollData, ICu
}
public void keyTyped(char c, int i) {
if (i == 1) {
close();
return;
}
super.keyTyped(c, i);
if (getTextField(4) != null) {
if (search.equals(getTextField(4).getText()))