Skip to content

Commit

Permalink
Update SystemProvider.js
Browse files Browse the repository at this point in the history
Fix #57
  • Loading branch information
mclemente committed Nov 13, 2022
1 parent 0525740 commit ed016c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions module/SystemProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ export class dnd5eProvider extends SystemProvider {
},
experience: { value: data.details.xp.value || 0, max: data.details.xp.max },
// background
background: Object.prototype.hasOwnProperty.call(data.details, "trait")(obj, "trait")
background: Object.prototype.hasOwnProperty.call(data.details, "trait")
? {
trait: this.htmlDecode(data.details.trait),
ideal: this.htmlDecode(data.details.ideal),
Expand Down Expand Up @@ -1352,8 +1352,8 @@ export class cyphersystemProvider extends SystemProvider {
additional: data.pools.additional,
additionalPool: {
active: data.settings.general.additionalPool.active,
name: data.settings.general.additionalPool.label,
pool: data.pools.additionalPool,
name: data.settings.general.additionalPool.label,
pool: data.pools.additionalPool,
},
tier: data.basic.tier,
effort: data.basic.effort,
Expand All @@ -1368,7 +1368,7 @@ export class cyphersystemProvider extends SystemProvider {
return [
actors,
{
showAdditional: actors.some(actor => actor.additionalPool.active),
showAdditional: actors.some((actor) => actor.additionalPool.active),
},
];
}
Expand Down

0 comments on commit ed016c5

Please sign in to comment.