Fixed to using Foundry's inbuilt tokenDocument data creator so that wildcard token paths get handled as expected

This commit is contained in:
WBHarry 2026-07-13 17:55:29 +02:00
parent 81e264a477
commit ac6a7a7f43

View file

@ -22,7 +22,7 @@ export default class DhTokenManager {
return await canvas.tokens.placeTokens(
[
{
...actor.prototypeToken.toObject(),
...(await actor.getTokenDocument()).toObject(),
actorId: actor.id,
displayName: 50,
...tokenData