mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 06:11:55 +00:00
Reduce required length of player names GH-226
This commit is contained in:
@@ -17,7 +17,7 @@ public class ACFSpongeUtil {
|
||||
return null;
|
||||
}
|
||||
String name = ACFUtil.replace(search, ":confirm", "");
|
||||
if (name.length() < 3) {
|
||||
if (name.length() < 2) {
|
||||
issuer.sendError(MinecraftMessageKeys.USERNAME_TOO_SHORT);
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user