Fix permission check for displaying Tweaks button
parent
27f5261c1b
commit
c1029826e6
|
@ -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 = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue