Patched issue that prevented the old actor sheet from opening

This commit is contained in:
Jacob Lucas 2021-06-03 14:29:59 +01:00
parent c454c035a3
commit b0c928c691

View file

@ -90,7 +90,7 @@ export default class ActorSheet5e extends ActorSheet {
// Owned Items
data.items = actorData.items;
for ( let i of data.items ) {
const item = this.actor.items.get(i.data._id);
const item = this.actor.items.get(i._id);
i.labels = item.labels;
}
data.items.sort((a, b) => (a.sort || 0) - (b.sort || 0));