Skip to content

Commit

Permalink
dnd5e: fix errors when languages are replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
mclemente committed May 13, 2024
1 parent cd8cca6 commit eb15346
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/module/providers/dnd5e.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ export default class dnd5eLanguageProvider extends LanguageProvider {
const langs = {};
if (this.replaceLanguages) {
CONFIG.DND5E.languages = {};
this.languageRarities = [];
this.multiLanguages = {};
}
const systemLanguages = CONFIG.DND5E.languages;
const getLang = (key, target) => {
Expand Down

0 comments on commit eb15346

Please sign in to comment.