Forgot some data -> system for the autocomplete

This commit is contained in:
Vlyan
2022-07-31 13:25:43 +02:00
parent e802161d4d
commit f9191b7b1c
2 changed files with 9 additions and 9 deletions

View File

@@ -79,12 +79,12 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e {
// Autocomplete
game.l5r5e.HelpersL5r5e.autocomplete(
html,
"data.identity.clan",
"system.identity.clan",
game.l5r5e.HelpersL5r5e.getLocalizedClansList()
);
game.l5r5e.HelpersL5r5e.autocomplete(
html,
"data.identity.family",
"system.identity.family",
CONFIG.l5r5e.families.get(
Object.entries(game.i18n.translations.l5r5e.clans).find(
([k, v]) => v === this.actor.system.identity.clan
@@ -93,13 +93,13 @@ export class CharacterSheetL5r5e extends BaseCharacterSheetL5r5e {
);
game.l5r5e.HelpersL5r5e.autocomplete(
html,
"data.identity.school",
"system.identity.school",
game.l5r5e.HelpersL5r5e.getSchoolsList(),
","
);
game.l5r5e.HelpersL5r5e.autocomplete(
html,
"data.identity.roles",
"system.identity.roles",
game.l5r5e.HelpersL5r5e.getLocalizedRolesList(),
","
);