Css fixes and add the ability to have a different name on the custom-compendium
This commit is contained in:
Vlyan
2023-08-19 12:36:13 +02:00
parent 9fa30444aa
commit b993914dcb
12 changed files with 66 additions and 33 deletions

View File

@@ -6,7 +6,7 @@ export default class HooksL5r5e {
// Enable embed Babele compendiums only if custom compendium is not found or disabled
if (
typeof Babele !== "undefined" &&
Babele.get().modules.every((module) => module.module !== game.settings.get(CONFIG.l5r5e.namespace, "babele-custom-compendium-name"))
Babele.get().modules.every((module) => module.module !== game.settings.get(CONFIG.l5r5e.namespace, "custom-compendium-name"))
) {
Babele.get().setSystemTranslationsDir("babele"); // Since Babele v2.0.7
}