You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
produces an error in the console when the canvas is disabled, since canvas.grid is undefined.
TypeError: Cannot read properties of undefined (reading 'addHighlightLayer')
[Detected 1 package: lib-find-the-path]
at new FTPUtility (utility.js:14:15)
at pathManager.js:515:29
at Function._call (foundry.js:294:14)
at Function.callAll (foundry.js:253:12)
at Game.setupGame (foundry.js:5566:11)
at async Game._initializeGameView (foundry.js:6498:5)
at async Game.initialize (foundry.js:5430:5)
It might make sense to check if game.settings.get("core", "noCanvas") is enabled before executing the code within the "ready" hook
Since FVTT 0.8.6 the canvas can be disabled per client so this call
lib-find-the-path/scripts/utility.js
Line 14 in 4519c32
It might make sense to check if
game.settings.get("core", "noCanvas")
is enabled before executing the code within the "ready" hooklib-find-the-path/scripts/pathManager.js
Line 495 in 4519c32
The text was updated successfully, but these errors were encountered: