mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 06:11:55 +00:00
Eliminate all length requirements for username lengths GH-226
This commit is contained in:
@@ -17,10 +17,6 @@ public class ACFSpongeUtil {
|
||||
return null;
|
||||
}
|
||||
String name = ACFUtil.replace(search, ":confirm", "");
|
||||
if (name.length() < 2) {
|
||||
issuer.sendError(MinecraftMessageKeys.USERNAME_TOO_SHORT);
|
||||
return null;
|
||||
}
|
||||
if (!isValidName(name)) {
|
||||
issuer.sendError(MinecraftMessageKeys.IS_NOT_A_VALID_NAME, "{name}", name);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user