diff --git a/src/module/xml-import/xml-import.mjs b/src/module/xml-import/xml-import.mjs index 71250d7e..ee97067c 100644 --- a/src/module/xml-import/xml-import.mjs +++ b/src/module/xml-import/xml-import.mjs @@ -495,7 +495,7 @@ export class XmlImport { 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 compendiumOfWeapons = game.packs.get('DSA_4-1.Weapons'); const compendiumOfAmmunition = game.packs.get('DSA_4-1.Ammunition');