diff --git a/module/conflicts/crucible.mjs b/module/conflicts/crucible.mjs new file mode 100644 index 0000000..6df24db --- /dev/null +++ b/module/conflicts/crucible.mjs @@ -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; + }; +}); diff --git a/module/oft.mjs b/module/oft.mjs index 8740d00..12a83bf 100644 --- a/module/oft.mjs +++ b/module/oft.mjs @@ -2,3 +2,6 @@ import "./hooks/init.mjs"; import "./hooks/setup.mjs"; import "./hooks/renderSettingsConfig.mjs"; + +// Compatibility w/ other packages +import "./conflicts/crucible.mjs";