Larkinabout/fvtt-custom-dnd5e

[BUG] Error occurs when opening unsupported sheet

kgar opened this issue · 1 comments

kgar commented

Describe the bug

When opening a sheet that is not currently included in the SHEET_TYPE object in custom dnd5e, errors occur in various hook functions:

image

image

Module Data

Go into the module's settings, open up the Debug Settings menu, click Export Data, save and attach the file here.

custom-dnd5e.json

Steps to reproduce

  1. Install an unsupported sheet, like Tidy 5e Sheets: https://foundryvtt.com/packages/tidy5e-sheet/ and enable it
  2. Open any sheet using the unsupported sheet
  3. Note the errors that appear in the devtools console.

Versions:

  • Module: 0.12.2
  • System: dnd5e 3.1.2
  • Foundry VTT: 11.315
  • Browser: 123.0.6312.122

Additional context
Any additional context.

Fixed in 0.12.3.