Skip to content

Commit

Permalink
pf1: add languages from items to known actor languages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethaks authored and mclemente committed Jul 7, 2024
1 parent a4187a3 commit cb82aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/providers/pf1.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default class pf1LanguageProvider extends LanguageProvider {
let knownLanguages = new Set();
let literateLanguages = new Set();
if (actor.system?.traits?.languages) {
for (let lang of actor.system.traits.languages.value) {
for (let lang of actor.system.traits.languages.total) {
knownLanguages.add(lang);
}
if (actor.system.traits.languages.customTotal) {
Expand Down

0 comments on commit cb82aa0

Please sign in to comment.