Larkinabout / fvtt-custom-dnd5e

11 stars 7 forks source link

[BUG] Error occurs when opening unsupported sheet #62

Closed kgar closed 6 months ago

kgar commented 6 months ago

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:

Additional context Any additional context.

Larkinabout commented 6 months ago

Fixed in 0.12.3.