Init'd GuiNpcTextField

This commit is contained in:
bigguy345 committed 2025-12-19 16:01:19 +02:00
1 parent 2556666072
commit 7a74a599f2
2 files changed
+8 -1

No files matched your search

@@ -38,7 +38,10 @@ public class GuiNpcTextField extends GuiTextField {
public GuiNpcTextField(int id, GuiScreen parent, int i, int j, int k, int l, String s) {
this(id, parent, Minecraft.getMinecraft().fontRenderer, i, j, k, l, s);
}
public void initGui() {
}
protected boolean charAllowed(char c, int i) {
if (!integersOnly || Character.isDigit(c))
return true;