max
totally not chipmunk real nickname reference
This commit is contained in:
parent
46f8f2529a
commit
e9fa84c93e
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ public class CommandHandlerPlugin {
|
|||
final int minimumArgs = getMinimumArgs(usage);
|
||||
final int maximumArgs = getMaximumArgs(usage);
|
||||
if (fullArgs.length < minimumArgs) return Component.text("Excepted minimum of " + minimumArgs + " argument(s), got " + fullArgs.length).color(NamedTextColor.RED);
|
||||
if (fullArgs.length > maximumArgs && !usage.contains("{")) return Component.text("Too much arguments, expected " + maximumArgs).color(NamedTextColor.RED);
|
||||
if (fullArgs.length > maximumArgs && !usage.contains("{")) return Component.text("Too much arguments, expected " + maximumArgs + " max").color(NamedTextColor.RED);
|
||||
|
||||
String userHash = "";
|
||||
if (trustLevel > 0 && splitInput.length >= 2) userHash = splitInput[1];
|
||||
|
|
Loading…
Reference in a new issue