Fix permission check for displaying Tweaks button

master
John Downey 2022-04-26 22:52:50 -05:00
parent 27f5261c1b
commit c1029826e6
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ export class AcksActorSheet extends ActorSheet {
let buttons = super._getHeaderButtons(); let buttons = super._getHeaderButtons();
// Token Configuration // Token Configuration
const canConfigure = game.user.isGM || this.actor.owner; const canConfigure = game.user.isGM || this.actor.isOwner;
if (this.options.editable && canConfigure) { if (this.options.editable && canConfigure) {
buttons = [ buttons = [
{ {