mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 18:57:32 +00:00
Init'd GuiNpcTextField
This commit is contained in:
1 parent
2556666072
commit
7a74a599f2
2 files changed
+8
-1
No files matched your search
@@ -104,6 +104,10 @@ public abstract class GuiNPCInterface extends GuiScreen {
|
||||
rotateLeft = new GuiNpcButton(0, guiLeft + 44 + xOffsetNpc + xOffsetButton, guiTop + yOffsetNpc + yOffsetButton, 20, 20, "<");
|
||||
rotateRight = new GuiNpcButton(0, guiLeft + 66 + xOffsetNpc + xOffsetButton, guiTop + yOffsetNpc + yOffsetButton, 20, 20, ">");
|
||||
}
|
||||
|
||||
//Important for GuiScriptTextArea
|
||||
for (GuiNpcTextField tf : textfields.values())
|
||||
tf.initGui();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user