Fix actor auto-patch for babele

This commit is contained in:
2022-10-17 18:04:07 +02:00
parent 822bc58f9f
commit 0f09baa7fe
3 changed files with 5 additions and 6 deletions

View File

@ -322,7 +322,7 @@ export default async function statParserFR(statString, type = "npc") {
}
catch { }
if (!itemFound && name) {
itemFound = new game.entities.ItemWfrp4e({ img: "systems/wfrp4e/icons/blank.png", name: name, type: "trapping", data: game.system.model.Item.trapping })
itemFound = new game.entities.ItemWfrp4e({ img: "systems/wfrp4e/icons/blank.png", name: name, type: "trapping", system: game.system.model.Item.trapping })
itemFound.system.trappingType.value = "misc"
}
if (itemFound)