From 57e095873e0980ec3d450ff48c309b636ff94841 Mon Sep 17 00:00:00 2001 From: farling42 Date: Mon, 23 Oct 2023 10:50:20 +0100 Subject: [PATCH] Add actorFilter to cyphersystemProvider --- module/SystemProvider.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/SystemProvider.js b/module/SystemProvider.js index 7aaf6da..957ca56 100644 --- a/module/SystemProvider.js +++ b/module/SystemProvider.js @@ -1303,6 +1303,10 @@ export class cyphersystemProvider extends SystemProvider { return 700; } + actorFilter(actor) { + return super.actorFilter(actor) && actor.type === "pc"; + } + getActorDetails(actor) { const data = actor.system; if (actor.type!=='pc') return;