re-add config UI validation

This commit is contained in:
James Seibel
2026-04-08 17:27:44 -05:00
parent 2bf125b7ac
commit 0bd36bff1d
@@ -583,7 +583,11 @@ public class ClassicConfigGUI
widget.insertText(String.valueOf(configEntry.get()));
Predicate<String> processor = configGuiInfo.tooltipFunction.apply(widget, this.doneButton);
//widget.setFilter(processor);
#if MC_VER <= MC_1_21_11
widget.setFilter(processor);
#else
widget.setResponder(processor::test);
#endif
this.configListWidget.addButton(this, configEntry, widget, resetButton, null, textComponent);