forked from GitHub-Mirrors/foundry-sw5e
Patched issue that prevented the old actor sheet from opening
This commit is contained in:
parent
c454c035a3
commit
b0c928c691
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ export default class ActorSheet5e extends ActorSheet {
|
||||||
// Owned Items
|
// Owned Items
|
||||||
data.items = actorData.items;
|
data.items = actorData.items;
|
||||||
for ( let i of data.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;
|
i.labels = item.labels;
|
||||||
}
|
}
|
||||||
data.items.sort((a, b) => (a.sort || 0) - (b.sort || 0));
|
data.items.sort((a, b) => (a.sort || 0) - (b.sort || 0));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue