v1.9.2 - Advancements ownership fix
This commit is contained in:
@@ -224,7 +224,9 @@ export class ItemL5r5e extends Item {
|
||||
}
|
||||
|
||||
// Copy the parent permission to the sub item
|
||||
item.ownership = this.ownership;
|
||||
// In v10 actor's items inherit the ownership from the actor, but theirs ownership do not reflect that.
|
||||
// So we must take actor's ownership for sub-item
|
||||
item.ownership = this.actor?.ownership ?? this.ownership;
|
||||
|
||||
// Tag parent (flags won't work as we have no id in db)
|
||||
item.system.parent_id = this.getParentsIds();
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
|
||||
"license": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/LICENSE.md",
|
||||
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
|
||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.9.1/raw/l5r5e.zip?job=build",
|
||||
"version": "1.9.1",
|
||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.9.2/raw/l5r5e.zip?job=build",
|
||||
"version": "1.9.2",
|
||||
"compatibility": {
|
||||
"minimum": 10,
|
||||
"verified": "10.284"
|
||||
|
||||
Reference in New Issue
Block a user