This commit is contained in:
+6
-5
@@ -78,7 +78,7 @@ Hooks.once('init', async function () {
|
||||
foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet);
|
||||
foundry.documents.collections.Items.registerSheet("bol", sheets.BoLItemSheet, { types: ["item"], makeDefault: true });
|
||||
foundry.documents.collections.Items.registerSheet("bol", sheets.BoLFeatureSheet, { types: ["feature"], makeDefault: true });
|
||||
|
||||
|
||||
// Debug: Verify AppV2 sheets are loaded
|
||||
console.log("BoL Item Sheets registered:", {
|
||||
BoLItemSheet: sheets.BoLItemSheet.name,
|
||||
@@ -101,11 +101,12 @@ Hooks.once('init', async function () {
|
||||
// Register hooks
|
||||
registerHooks()
|
||||
|
||||
if (typeof Babele !== 'undefined') {
|
||||
Babele.get().setSystemTranslationsDir("compendiums");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
/* -------------------------------------------- */
|
||||
Hooks.once("babele.init", (babele) => {
|
||||
console.log("Initializing Babele translations")
|
||||
babele.setSystemTranslationsDir("compendiums");
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user