Skip to content

Commit

Permalink
fix(DetourLink): use 'next' property instead of 'get_next' function
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-mason committed Jun 24, 2024
1 parent d83391c commit 1b1f40e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/smooth-cherries-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@recast-navigation/core": patch
"recast-navigation": patch
---

fix(DetourLink): use 'next' property instead of 'get_next' function
2 changes: 1 addition & 1 deletion packages/recast-navigation-core/src/detour.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class DetourLink {
}

next(): number {
return this.raw.get_next();
return this.raw.next;
}

edge(): number {
Expand Down

0 comments on commit 1b1f40e

Please sign in to comment.