kgar / foundry-vtt-tidy-5e-sheets

D&D 5e sheet layouts for Foundry VTT, focused on a clean UI, user ergonomics, and extensibility.
https://kgar.github.io/foundry-vtt-tidy-5e-sheets/
MIT License
36 stars 14 forks source link

[Bug] Error when assigning spells to classes #741

Closed crash1115 closed 1 week ago

crash1115 commented 2 weeks ago

In the spellbook tab, clicking on Tools > Assign Spells to Classes produces an error and doesn't let you assign spells to classes.

Foundry v12.331 dnd5e v3.3.1 Tidy v5.6.2

image

kgar commented 2 weeks ago

I can't repro, unfortunately. Can you check to see if this is possibly a module interaction or some data-specific thing that needs accounting for?

When I do this from my dev world, I'm not seeing an error with a spellcaster: image

Even a nonspellcaster like Randal doesn't have issues: image

crash1115 commented 2 weeks ago

I'll try to follow up this evening, will post my findings shortly!

crash1115 commented 2 weeks ago

So I've tested on:

In every combination of those things, it's happening to every actor in these two worlds. That includes:

This happens regardless of whether or not the actor has any spells in the spellbook. I tried messing with the class' spellcasting settings - half caster/full caster/etc and spellcasting ability - but no dice. I tried with and without spells in the spellbook. I tried with and without spell slots. None of these things appeared to make a difference.

EDIT: Reinstalling Tidy did not make a difference.

I tested on a completely different wold, not hosted by me, where I'm a player, and things seemed to work fine. Go figure, lol.

I've attached a few actors for you to take a peek at, but if you need to jump into my world, shoot me a DM on discord whenever you have time to take a look, and I can get you login info.

fvtt-Actor-from-campaign-world-TdRQfWsgcfjjWPYv.json fvtt-Actor-from-scratch-blank-(dev)-rtCEbqgcFYs5N8Pw.json fvtt-Actor-from-scratch-w-class-(dev)-eyzeykfQgAAIdTaU.json fvtt-Actor-merric-fresh-(dev)-TYlVW0WwEzgOshsg.json

kgar commented 1 week ago

We fixed it!