mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-14 03:49:54 +00:00
Fix Negative Value Floats Only
This commit is contained in:
1 parent
b490e04bb0
commit
07640d9b6b
1 file changed
+2
@@ -93,6 +93,8 @@ public class SubGuiMagic extends SubGuiInterface implements ITextfieldListener,
|
||||
addLabel(new GuiNpcLabel(50, "magic.interaction", guiLeft + 170, guiTop + 30 + 160 + 5));
|
||||
interactionField = new GuiNpcTextField(90, this, fontRendererObj, guiLeft + 245, guiTop + 30 + 160, 45, 20, "");
|
||||
interactionField.setFloatsOnly();
|
||||
interactionField.setMinMaxDefaultFloat(-Float.MAX_VALUE, Float.MAX_VALUE, 0.0f);
|
||||
|
||||
addTextField(interactionField);
|
||||
if (selectedInteraction != null) {
|
||||
interactionField.setText(interactionValues.get(selectedInteraction) + "");
|
||||
|
||||
Reference in new issue
Block a user