Add tweak blocking for when Crucible is the game system

This commit is contained in:
Oliver 2025-12-21 22:02:39 -07:00
parent ce994f5daf
commit 00af9286d4
2 changed files with 13 additions and 0 deletions

View 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;
};
});

View file

@ -2,3 +2,6 @@
import "./hooks/init.mjs";
import "./hooks/setup.mjs";
import "./hooks/renderSettingsConfig.mjs";
// Compatibility w/ other packages
import "./conflicts/crucible.mjs";