This commit is contained in:
@@ -94,9 +94,13 @@ Hooks.once("init", function () {
|
||||
CthulhuEternalUtils.registerHandlebarsHelpers()
|
||||
CthulhuEternalUtils.setupCSSRootVariables()
|
||||
|
||||
|
||||
console.info("CTHULHU ETERNAL | System Initialized")
|
||||
})
|
||||
|
||||
Hooks.once('babele.init', (babele) => {
|
||||
babele.setSystemTranslationsDir("compendiums");
|
||||
});
|
||||
|
||||
/**
|
||||
* Perform one-time configuration of system configuration objects.
|
||||
@@ -114,10 +118,6 @@ function preLocalizeConfig() {
|
||||
Hooks.once("ready", function () {
|
||||
console.info("CTHULHU ETERNAL | Ready")
|
||||
|
||||
if (typeof Babele !== 'undefined') {
|
||||
console.info("CTHULHU ETERNAL | Babele detected, setting up translations")
|
||||
Babele.get().setSystemTranslationsDir("compendiums");
|
||||
}
|
||||
|
||||
if (game.user.isGM) {
|
||||
ClassCounter.registerUsageCount("fvtt-cthulhu-eternal", {})
|
||||
|
Reference in New Issue
Block a user