From ce6bea9729bf0422a2123c7531a908149b3252cd Mon Sep 17 00:00:00 2001 From: GodCipher Date: Wed, 26 Jun 2024 02:58:04 +0200 Subject: [PATCH] Added a comment to the example --- .../java/org/patheloper/example/command/PatheticCommand.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pathetic-example/src/main/java/org/patheloper/example/command/PatheticCommand.java b/pathetic-example/src/main/java/org/patheloper/example/command/PatheticCommand.java index 59b4a9c6..911ab6a3 100644 --- a/pathetic-example/src/main/java/org/patheloper/example/command/PatheticCommand.java +++ b/pathetic-example/src/main/java/org/patheloper/example/command/PatheticCommand.java @@ -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(