Trait Items #72
2 changed files with 8 additions and 0 deletions
7
dev/hooks/oft.preRegisterTweak.mjs
Normal file
7
dev/hooks/oft.preRegisterTweak.mjs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
This is to prevent my tweaks module from adding invasive tweaks during development
|
||||
of the system. But allowing all of the non-invasive tweaks to be used.
|
||||
*/
|
||||
Hooks.on(`oft.preRegisterTweak`, (tweak, invasive) => {
|
||||
return !invasive;
|
||||
});
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
// Hooks
|
||||
import "./hooks/hotReload.mjs";
|
||||
import "./hooks/oft.preRegisterTweak.mjs";
|
||||
import "./hooks/getHeaderControlsActorSheetV2.mjs";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue