death-save / combat-carousel

Combat Carousel Foundry VTT module
https://deathsave.dev
GNU General Public License v3.0
18 stars 21 forks source link

Not working for Old School Essentials #83

Closed Naroek56 closed 3 years ago

Naroek56 commented 3 years ago

OS: Windows 10 Foundry: 0.8.8 Old-School Essentials: 1.2.2

When starting combat the carousel field is empty and invisible until hovered over. image

The error message reads:

combat-carousel.mjs:248 Uncaught (in promise) TypeError: Cannot set property 'title' of null
    at CombatCarousel.prepareTurnData (combat-carousel.mjs:248)
    at hooks.mjs:143
    at Function._call (foundry.js:194)
    at Function.callAll (foundry.js:153)
    at ClientDatabaseBackend.callback (foundry.js:8681)
    at foundry.js:8651
    at Array.map (<anonymous>)
    at ClientDatabaseBackend._handleCreateEmbeddedDocuments (foundry.js:8651)
    at ClientDatabaseBackend._createEmbeddedDocuments (foundry.js:8544)
    at async Function.createDocuments (document.mjs:332)

Fix/help much appreciated!

eclarke12 commented 3 years ago

Same cause as #98

eclarke12 commented 3 years ago

Fixed by #100