fixes issue with import xmls of characters that dont have gegenstände
parent
a7164eab53
commit
dcdcecb39f
|
|
@ -495,7 +495,7 @@ export class XmlImport {
|
||||||
actor.items.get(e._id).delete()
|
actor.items.get(e._id).delete()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
held.gegenstände.gegenstand.forEach(e => {
|
held.gegenstände?.gegenstand?.forEach(e => {
|
||||||
const compendiumOfArmor = game.packs.get('DSA_4-1.Armor');
|
const compendiumOfArmor = game.packs.get('DSA_4-1.Armor');
|
||||||
const compendiumOfWeapons = game.packs.get('DSA_4-1.Weapons');
|
const compendiumOfWeapons = game.packs.get('DSA_4-1.Weapons');
|
||||||
const compendiumOfAmmunition = game.packs.get('DSA_4-1.Ammunition');
|
const compendiumOfAmmunition = game.packs.get('DSA_4-1.Ammunition');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue