added ns in CONFIG.l5r5e.systemName
This commit is contained in:
@@ -23,8 +23,6 @@ export class SkillSheetL5r5e extends ItemSheetL5r5e {
|
||||
|
||||
sheetData.data.SkillCategoriesList = CONFIG.l5r5e.skillCategories;
|
||||
|
||||
console.log(sheetData.data.system);
|
||||
|
||||
return sheetData;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user