Skip to content

Commit

Permalink
Added a comment to the example
Browse files Browse the repository at this point in the history
  • Loading branch information
Metaphoriker committed Jun 26, 2024
1 parent f90f851 commit ce6bea9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
start,
target,
List.of(
new PassablePathFilter(), new SolidGroundPathFilter(), new WaterPathFilter()));
new PassablePathFilter(),
new SolidGroundPathFilter(),
new WaterPathFilter())); // Passable and SolidGround have to be used together,
// because SolidGround depends on Passable

// Handle the pathfinding result
pathfindingResult.thenAccept(
Expand Down

0 comments on commit ce6bea9

Please sign in to comment.