Skip to content

Commit

Permalink
fix for use with dfreds convenient effects
Browse files Browse the repository at this point in the history
  • Loading branch information
tsrgit committed Sep 10, 2023
1 parent d28d4c5 commit d20e773
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ Hooks.once('ready', function () {
return this;
};
};

// Copy name to label; fix for DFreds Convenient Effects
CONFIG.statusEffects = CONFIG.statusEffects.map( x => {
x.label = x.label || x.name;
return x;
});

} else {
debug.log(true, "Current game system not supported")
};
Expand Down

0 comments on commit d20e773

Please sign in to comment.