added ns in CONFIG.l5r5e.systemName

This commit is contained in:
Vlyan
2023-01-08 10:32:35 +01:00
parent 5fbb34d882
commit 1ec9e65ca5
15 changed files with 61 additions and 62 deletions

View File

@@ -23,8 +23,6 @@ export class SkillSheetL5r5e extends ItemSheetL5r5e {
sheetData.data.SkillCategoriesList = CONFIG.l5r5e.skillCategories;
console.log(sheetData.data.system);
return sheetData;
}
}

View File

@@ -21,7 +21,7 @@ export class TechniqueSheetL5r5e extends ItemSheetL5r5e {
// List all available techniques type
const types = ["core", "school", "title"];
if (game.settings.get("l5r5e", "techniques-customs")) {
if (game.settings.get(CONFIG.l5r5e.systemName, "techniques-customs")) {
types.push("custom");
}
sheetData.data.techniquesList = game.l5r5e.HelpersL5r5e.getTechniquesList({ types });