Add tweak blocking for when Crucible is the game system
This commit is contained in:
parent
ce994f5daf
commit
00af9286d4
2 changed files with 13 additions and 0 deletions
10
module/conflicts/crucible.mjs
Normal file
10
module/conflicts/crucible.mjs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { key as preventMovementHistoryKey } from "../tweaks/preventMovementHistory.mjs";
|
||||
|
||||
Hooks.on(`oft.preRegisterTweak`, (tweakID) => {
|
||||
if (game.system.id !== `crucible`) { return };
|
||||
|
||||
switch (tweakID) {
|
||||
case preventMovementHistoryKey:
|
||||
return false;
|
||||
};
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue