Hook Error with 5e.prepareLeveledSlots
Closed this issue · 0 comments
Hello there,
I am running into an issue with using the class summary journal pages where it floods the command console with errors related to d5e.prepareLeveledSlots'. I am trying to set up my journals so I can have all my classes easy to access and browse for players.
I am wondering if this can be fixed in some manner.
It produces this error about a dozen times:
Foundry.js:733 Foundry VTT | Error thrown in hooked function '' for hook 'dnd5e.prepareLeveledSlots'#
TypeError: Error thrown in hooked function '' for hook 'dnd5e.prepareLeveledSlots'. Cannot read properties of undefined (reading 'sheet')
[Detected 2 packages: ceane-talent, system:dnd5e]
at saveActorIdOnStrainTab (module.js:248:15)
at Object.fn (module.js:244:5)
at #call (foundry.js:730:20)
at Hooks.call (foundry.js:712:38)
at Actor5e.prepareSpellcastingSlots (actor.mjs:705:27)
at JournalClassPageSheet._getSpellProgression (class-page-sheet.mjs:218:17)
at JournalClassPageSheet._getTable (class-page-sheet.mjs:139:41)
at JournalClassPageSheet._getSubclass (class-page-sheet.mjs:388:25)
at async Promise.all (index 0)
at async JournalClassPageSheet._getSubclasses (class-page-sheet.mjs:368:24)
at async JournalClassPageSheet.getData (class-page-sheet.mjs:45:26)
at async JournalSheet5e._renderPageViews (foundry.js:74873:20)
at async JournalSheet5e._render (foundry.js:74844:5)
Foundry Version: 11 Stable
D&D 5e system Version: 3.1.2