Ensure worldbuilding changes are working on legacy worldbuilding world and adjust attribute form styling

This commit is contained in:
Andrew 2020-09-28 09:21:11 -07:00
parent 977fb4b76b
commit 8a2ba78203
4 changed files with 47 additions and 37 deletions

View file

@ -4,6 +4,15 @@
*/
export class SimpleActor extends Actor {
/** @override */
prepareData() {
super.prepareData();
this.data.data.groups = this.data.data.groups || {};
this.data.data.attributes = this.data.data.attributes || {};
}
/* -------------------------------------------- */
/** @override */
getRollData() {
const data = super.getRollData();