Allow Negatives

This commit is contained in:
Kam committed 2026-02-24 15:27:13 -05:00
1 parent 251c7b109f
commit 953a706846
1 file changed
+3
@@ -63,6 +63,9 @@ public class GuiNpcTextField extends GuiTextField {
if (integersOnly && getText().isEmpty() && c == '-')
return true;
if ((floatsOnly || doublesOnly) && getText().isEmpty() && c == '-')
return true;
for (int j : allowedSpecialChars)
if (j == i)
return true;