We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1040a3 commit 6a2626fCopy full SHA for 6a2626f
blastback_client/src/com/blastback/appstates/GUIAppState.java
@@ -145,7 +145,9 @@ public boolean hostAvailabilityCheck()
145
146
private boolean verifyStartScreenInput()
147
{
148
- return (!getTextIp().equals("") && !getTextName().equals("") && getTextPort() != -1);
+ int maxNameLength = 6;
149
+ return (!getTextIp().equals("") && getTextName().length() > 0 &&
150
+ getTextName().length() <= maxNameLength && getTextPort() != -1);
151
}
152
153
private void attachGameStates()
0 commit comments