mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-30 12:01:26 +01:00
Precision in the documentation, syntax argument count needs to be higher than 0
This commit is contained in:
parent
59b4b7996d
commit
3c0fa42758
@ -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[])
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user