SolarBear / Numenera-FoundryVTT

Numenera support for the Foundry virtual tabletop
MIT License
28 stars 20 forks source link

Weapon names turn to 'new item', armor similar #179

Closed snorith closed 3 years ago

snorith commented 3 years ago

If you roll a weapon without an associated skill, a new skill is created but the name is shown as 'New item' in the roll dialog.

Armor also has the same issue with names being lost when copied, and I've accounted for the possibility that skills might already have a data.data instead of just creating a new object

SolarBear commented 3 years ago

Again, thank you! I may need to review the whole "fromOwnedItem" thingy since it seems to make things error-prone - and version 0.8 may force me to, anyhow. But, right now, this should do the trick.