diff --git a/src/content/docs/paper/dev/api/entity-api/entity-pathfinder.md b/src/content/docs/paper/dev/api/entity-api/entity-pathfinder.md index 9a13b6954..507b97c46 100644 --- a/src/content/docs/paper/dev/api/entity-api/entity-pathfinder.md +++ b/src/content/docs/paper/dev/api/entity-api/entity-pathfinder.md @@ -30,7 +30,7 @@ Pathfinder pathfinder = cow.getPathfinder(); boolean success = pathfinder.moveTo(player.getLocation()); ``` -If you want to access the current path for the cow, you can call [`getPathfinder()`](jd:paper:org.bukkit.entity.Mob#getPathfinder()) +If you want to access the current path for the cow, you can call [`getCurrentPath()`](jd:paper:com.destroystokyo.paper.entity.Pathfinder#getCurrentPath()) on the pathfinder: ```java