Move the tweak prevention into a helper function and rename the module hooks w/ compatibility code
This commit is contained in:
parent
3d4376aa81
commit
9c8b6f37f9
20 changed files with 102 additions and 102 deletions
9
module/hooks/oft.tweakStatuses.mjs
Normal file
9
module/hooks/oft.tweakStatuses.mjs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
This hook is used to broadcast the final status of all tweaks within the module,
|
||||
allowing them to either confirm their registration didn't happen or to do
|
||||
something once all of the module setup has been finalized. Tweak statuses cannot
|
||||
be blocked or changed from this hook, to prevent a tweak from being registered
|
||||
you should use the "oft.preRegisterTweak" hook.
|
||||
|
||||
Call Signature: (settings: Record<string, string>) => void
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue