forked from GitHub-Mirrors/foundry-sw5e
Update migration.js
thought this would work, but didn't? Getting a reserved word error
This commit is contained in:
parent
6a7c65eefb
commit
311854408c
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ function _updateNPCData(actor) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
actor.createEmbeddedEntity("OwnedItem", newPowers);
|
let updateActor = await actor.createEmbeddedEntity("OwnedItem", newPowers);
|
||||||
// set flag to check to see if migration has been done so we don't do it again.
|
// set flag to check to see if migration has been done so we don't do it again.
|
||||||
actor.setFlag("sw5e","dataVersion","1.2.4");
|
actor.setFlag("sw5e","dataVersion","1.2.4");
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue