Skip to content

Commit

Permalink
Clarify some javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jun 11, 2022
1 parent e993de3 commit 4a98b52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/main/java/net/citizensnpcs/api/ai/Navigator.java
Expand Up @@ -107,15 +107,17 @@ public interface Navigator {
void setTarget(Entity target, boolean aggressive, Function<NavigatorParameters, PathStrategy> strategy);

/**
* Sets the current navigation using a list of {@link Vector}s which will be followed in turn.
* Sets the current navigation using a list of {@link Vector}s which will be moved between sequentially using the
* Citizens movement logic <em>without</em> pathfinding.
*
* @param path
* The path
*/
void setTarget(Iterable<Vector> path);

/**
* Sets the current navigation to a {@link Location} destination.
* Sets the current navigation to a list of {@link Vector}s which will be moved between sequentially using the
* Citizens movement logic <em>without</em> pathfinding.
*
* @param target
* The destination
Expand Down
Expand Up @@ -177,7 +177,7 @@ private void executeMethod(String[] args, CommandSender sender, Object[] methodA
* A safe version of <code>execute</code> which catches and logs all errors that occur. Returns whether the command
* handler should print usage or not.
*
* @see #execute(Command, String[], CommandSender, Object...)
* @see #execute(org.bukkit.command.Command, String[], CommandSender, Object...)
* @return Whether further usage should be printed
*/
public boolean executeSafe(org.bukkit.command.Command command, String[] args, CommandSender sender,
Expand Down

0 comments on commit 4a98b52

Please sign in to comment.