Implemented dialog and text colors.

This commit is contained in:
Luis C.M committed 2022-06-10 01:38:01 -05:00
1 parent 4fe61a904f
commit ff8fc68e88
6 files changed
+132 -47

No files matched your search

@@ -43,6 +43,10 @@ public class GuiNpcTextField extends GuiTextField{
private boolean charAllowed(char c, int i){
if(!integersOnly || Character.isDigit(c))
return true;
if(integersOnly && getText().isEmpty() && c == '-')
return true;
for(int j : allowedSpecialChars)
if(j == i)
return true;