diff --git a/module/sla-gear-cache.mjs b/module/sla-gear-cache.mjs index 87b3b61..804ba84 100644 --- a/module/sla-gear-cache.mjs +++ b/module/sla-gear-cache.mjs @@ -163,6 +163,7 @@ class SlaGearCacheApp extends FormApplication { } function installActorButton(app, html) { + if (!game.user?.isGM) return; const root = getHtmlRoot(html); const header = root?.querySelector(".directory-header .header-actions, .directory-header .action-buttons"); if (!header || header.querySelector(".sla-gear-cache-open")) return;