From c1029826e61c524604d97fc868d6d1e2c693841f Mon Sep 17 00:00:00 2001 From: John Downey Date: Tue, 26 Apr 2022 22:52:50 -0500 Subject: [PATCH] Fix permission check for displaying Tweaks button --- src/module/actor/actor-sheet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/actor/actor-sheet.js b/src/module/actor/actor-sheet.js index c996cfb..df5e074 100644 --- a/src/module/actor/actor-sheet.js +++ b/src/module/actor/actor-sheet.js @@ -264,7 +264,7 @@ export class AcksActorSheet extends ActorSheet { let buttons = super._getHeaderButtons(); // Token Configuration - const canConfigure = game.user.isGM || this.actor.owner; + const canConfigure = game.user.isGM || this.actor.isOwner; if (this.options.editable && canConfigure) { buttons = [ {