mobBuilder refactor broke attack animations
9f94dc98 is the first bad commit
Specifically, moving this loop after addComponent
caused it, because spell.animation
passed to addSpell
(when the spellbook is added) needs to be a string but spell.animation
afterwards is the object from config/animations
.