Precision in the documentation, syntax argument count needs to be higher than 0

This commit is contained in:
Felix Cravic 2020-12-05 16:19:54 +01:00
parent 59b4b7996d
commit 3c0fa42758
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ public class Command {
*
* @param commandCondition the condition to use the syntax
* @param executor the executor to call when the syntax is successfully received
* @param args all the arguments of the syntax
* @param args all the arguments of the syntax, the length needs to be higher than 0
* @return the created {@link CommandSyntax}
*/
public CommandSyntax addSyntax(@Nullable CommandCondition commandCondition,
@ -130,7 +130,7 @@ public class Command {
* Adds a new syntax in the command without any condition.
*
* @param executor the executor to call when the syntax is successfully received
* @param args all the arguments of the syntax
* @param args all the arguments of the syntax, the length needs to be higher than 0
* @return the created {@link CommandSyntax}
* @see #addSyntax(CommandCondition, CommandExecutor, Argument[])
*/