RedReign / FoundryVTT-BetterRolls5e

A module for modifying certain sheet functions on Foundry VTT Character sheets for D&D 5th Edition.
GNU General Public License v3.0
36 stars 67 forks source link

Exceptions thrown when canvas is disabled and hovering over a chat window #347

Open watermelonwolverine opened 2 years ago

watermelonwolverine commented 2 years ago

When the canvas is disabled hovering over one of the chat entries causes exceptions to be logged in the console:

chat-message.js:265 Uncaught TypeError: Cannot read properties of undefined (reading 'controlled') [Detected 1 package: betterrolls5e] at BetterRollsChatCard._onHover (chat-message.js:265) at HTMLDivElement.handle (jquery.min.js:2) at HTMLDivElement.dispatch (jquery.min.js:2) at HTMLDivElement.v.handle (jquery.min.js:2) _onHover @ chat-message.js:265 handle @ jquery.min.js:2 dispatch @ jquery.min.js:2 v.handle @ jquery.min.js:2