From cde8feb3c0a8fd65e66060f1766f9905a7dbbfd3 Mon Sep 17 00:00:00 2001 From: Erebus Date: Sat, 21 Aug 2021 15:02:34 +0200 Subject: [PATCH] v0.0.9 --- module/actors/actor-sheet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/actors/actor-sheet.js b/module/actors/actor-sheet.js index 3825678..3bf0ca2 100644 --- a/module/actors/actor-sheet.js +++ b/module/actors/actor-sheet.js @@ -1010,8 +1010,8 @@ export class ActorSheetKH extends ActorSheet { if (_item) { let newVal = true; - if(_item.data.used !== undefined) { - newVal = !_item.data.used; + if(_item.data.data.used !== undefined) { + newVal = !_item.data.data.used; } let update = {