Skip to content

Commit

Permalink
Merge pull request #218 from juanferrer/master
Browse files Browse the repository at this point in the history
4.6.3
  • Loading branch information
ClipplerBlood authored Nov 28, 2024
2 parents e941df2 + d4d2c4b commit 4efffb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/data/item/AncestryDataModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default class AncestryDataModel extends foundry.abstract.DataModel {
}

// Update from level4 to any number of levels
if (source.level4) {
if (source.level4 && (!source.levels || source.levels?.filter(l => l.level === '4').length === 0)) {
if (!source.levels) source.levels = []

source.levels = source.levels.concat([
Expand Down

0 comments on commit 4efffb3

Please sign in to comment.