oft/module/hooks/init.mjs

17 lines
498 B
JavaScript

// Settings
import { preventMovementHistory } from "../settings/preventMovementHistory.mjs";
// Utils
import { Logger } from "../utils/Logger.mjs";
/*
This is only here for setting that **require** being registered during
initialization due to documentClass changes. If there is any way that
these settings can be implemented to work during the setup hook, that is
where they ideally should be implemented.
*/
Hooks.on(`init`, () => {
Logger.log(`Initializing`);
preventMovementHistory();
});