Skip to content

Commit a86c928

Browse files
authored
fix: Switch Javadoc link for Pathfinder docs (#791)
1 parent 559cd37 commit a86c928

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/docs/paper/dev/api/entity-api/entity-pathfinder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Pathfinder pathfinder = cow.getPathfinder();
3030
boolean success = pathfinder.moveTo(player.getLocation());
3131
```
3232

33-
If you want to access the current path for the cow, you can call [`getPathfinder()`](jd:paper:org.bukkit.entity.Mob#getPathfinder())
33+
If you want to access the current path for the cow, you can call [`getCurrentPath()`](jd:paper:com.destroystokyo.paper.entity.Pathfinder#getCurrentPath())
3434
on the pathfinder:
3535

3636
```java

0 commit comments

Comments
 (0)