From c5a42e76812a78897105138962042746756ecaac Mon Sep 17 00:00:00 2001 From: "Tim Evans (slaguru666)" Date: Tue, 14 Apr 2026 22:39:45 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20update=20sla-gear-cache=20=E2=80=94=20?= =?UTF-8?q?latest=20live=20state=20backup=202026-04-14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/sla-gear-cache.mjs | 1 + 1 file changed, 1 insertion(+) 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;