diff --git a/module/js/integrations/ChrisPremades.js b/module/js/integrations/ChrisPremades.js index e5d185b..6e2c092 100644 --- a/module/js/integrations/ChrisPremades.js +++ b/module/js/integrations/ChrisPremades.js @@ -123,6 +123,12 @@ export class IntegrationChrisPremades extends StartupHookMixin(IntegrationBase) "vehicle", ]); + _entsJsonBlocklist = { + "item": [ + {name: "Shield", source: Parser.SRC_PHB}, // Avoid collision with spell of the same name + ], + }; + async _pGetExpandedAddonData ( { propJson, @@ -141,6 +147,9 @@ export class IntegrationChrisPremades extends StartupHookMixin(IntegrationBase) || this._propsJsonBlocklist.has(propJson) ) return null; + const jsonBlocklist = this._entsJsonBlocklist[propJson]; + if (jsonBlocklist?.length && jsonBlocklist.some(it => fnMatch(it))) return null; + return this._pGetExpandedAddonData_pWithStubs({ propJson, path,