use methods from the foundry.utils namespaces instead of their global counterparts
This commit is contained in:
parent
8f7f6af359
commit
1ddabc388c
3 changed files with 4 additions and 4 deletions
|
@ -169,7 +169,7 @@ export class DS4ActorSheet extends ActorSheet<ActorSheet.Options, DS4ActorSheetD
|
|||
|
||||
// Set new value
|
||||
const newValue = this.getValue(el);
|
||||
setProperty(itemObject, property, newValue);
|
||||
foundry.utils.setProperty(itemObject, property, newValue);
|
||||
this.actor.updateEmbeddedDocuments("Item", [{ ...itemObject }]); // TODO: Improve in upstream
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue