17,030
edits
(Ensure no modded namespaces are active when generating data) |
(Fix issue with setting spellBook attribute of Alt. Magic spells) |
||
Line 88: | Line 88: | ||
else { | else { | ||
const newData = structuredClone(entity); | const newData = structuredClone(entity); | ||
newData.forEach((i) => i.spellBook | newData.forEach((i) => i.spellBook = 'altMagic'); | ||
return newData; | return newData; | ||
} | } |