Patched issue that meant that all powers were not being prepared

This commit is contained in:
Jacob Lucas 2021-06-03 14:31:15 +01:00
parent b0c928c691
commit d0e0dda2b3

View file

@ -1559,7 +1559,7 @@ export default class Item5e extends Item {
*/
_onCreateOwnedPower(data, actorData, isNPC) {
const updates = {};
updates["data.prepared"] = true; // Automatically prepare powers for everyone
updates["data.preparation.prepared"] = true; // Automatically prepare powers for everyone
return updates;
}