This commit is contained in:
WBHarry 2026-06-30 11:51:09 +02:00
parent cc2cf1205c
commit 7fac6e8e82

View file

@ -897,7 +897,7 @@ export async function getWorldActor(baseActor) {
game.actors.find(x => x._stats.compendiumSource === baseActor.uuid && x.name === baseActor.name); game.actors.find(x => x._stats.compendiumSource === baseActor.uuid && x.name === baseActor.name);
if (worldActorCopy) if (worldActorCopy)
return worldActorCopy; return worldActorCopy.toObject();
const baseActorData = baseActor.toObject(); const baseActorData = baseActor.toObject();
return await game.system.api.documents.DhpActor.create({ return await game.system.api.documents.DhpActor.create({