CarnVanBeck / vtt-resource-tracker

1 stars 1 forks source link

modifying a custom resource on a prototype token does not work #7

Closed CarnVanBeck closed 2 years ago

CarnVanBeck commented 3 years ago

Uncaught (in promise) TypeError: Cannot read property 'updateEmbeddedEntity' of undefined at Token.update (foundry.js:11475) at Token.unsetFlag (foundry.js:11544) at HTMLInputElement. (resource-tracker.js:144) at Function.each (jquery.min.js:2) at S.fn.init.each (jquery.min.js:2) at HTMLButtonElement. (resource-tracker.js:127) at HTMLButtonElement.dispatch (jquery.min.js:2) at HTMLButtonElement.v.handle (jquery.min.js:2)

CarnVanBeck commented 3 years ago

Current workaround is to drag the token into the canvas, modify the resource and then assign it back to the actor.