forked from GitHub-Mirrors/foundry-sw5e
Patched issue that meant that all powers were not being prepared
This commit is contained in:
parent
b0c928c691
commit
d0e0dda2b3
1 changed files with 1 additions and 1 deletions
|
@ -1559,7 +1559,7 @@ export default class Item5e extends Item {
|
||||||
*/
|
*/
|
||||||
_onCreateOwnedPower(data, actorData, isNPC) {
|
_onCreateOwnedPower(data, actorData, isNPC) {
|
||||||
const updates = {};
|
const updates = {};
|
||||||
updates["data.prepared"] = true; // Automatically prepare powers for everyone
|
updates["data.preparation.prepared"] = true; // Automatically prepare powers for everyone
|
||||||
return updates;
|
return updates;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue