mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-15 11:00:17 -07:00
set path isMoveNear if we truncate it
This commit is contained in:
parent
f7b627d1ab
commit
2641fdbb68
1 changed files with 2 additions and 0 deletions
|
|
@ -241,6 +241,8 @@ internal constructor() : Pathfinder() {
|
|||
path.points.add(Point(absX, absY))
|
||||
}
|
||||
path.setSuccesful(true)
|
||||
if (end != dest)
|
||||
path.isMoveNear = true
|
||||
return path
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue