Skip to content

Commit ee7e456

Browse files
change outdated hook prio docs (#116)
* change outdated hook prio docs * actually fix oudated hook prio docs
1 parent 642249a commit ee7e456

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tutorials/hookpriority.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ There are tools for mod compatibilities! Please take advantage of them.
7575

7676
- If you want your function to run _after_ the original function, but _before_ other hooks, use `Priority::First` with `setHookPriorityPost` and call the original function at the start.
7777

78-
- If you're _reimplementing_ the original function and do not call the original, use `Priority::Last` with `setHookPriorityPre`.
78+
- If you're _reimplementing_ the original function and do not call the original, use `Priority::Replace` with `setHookPriorityPre`.
7979

8080
Obviously, these are not strict rules. Feel free to choose the hook priority that best fits your situation.
8181

0 commit comments

Comments
 (0)