Without Advanced Macros enabled, I can run the following macro without having to load any scenes (IE on just opening the program and before clicking to view anything):
TypeError: Cannot read property 'get' of null
at TokenLayer.get (foundry.js:19784)
at Function.getTemplateContext (Macros.js:142)
at MacroPF2e.renderMacro [as renderContent] (Macros.js:171)
at MacroPF2e.executeMacro (Macros.js:204)
at Hotbar._onClickMacro (foundry.js:28392)
at HTMLLIElement.dispatch (jquery.min.js:2)
at HTMLLIElement.v.handle (jquery.min.js:2)
It's not really high priority I'd assume, since I'll generally have a scene loaded, it just took time to work out the problem so I figured I'd post it here.
Without Advanced Macros enabled, I can run the following macro without having to load any scenes (IE on just opening the program and before clicking to view anything):
However, with Advanced Macros enabled I get the error that we cannot run "get" on a null object, coming from this line:
which leads to a call to foundry.js:19784:
Which, finally, gives this error:
It's not really high priority I'd assume, since I'll generally have a scene loaded, it just took time to work out the problem so I figured I'd post it here.