KayelGee / token-attacher

MIT License
11 stars 18 forks source link

Mount Up! macro not working #64

Closed samursus closed 2 years ago

samursus commented 2 years ago

As in the title... nothing seems to happen when I click that macro, whereas the others work with the appropriate chat bubbles

KayelGee commented 2 years ago

Oh yeah the token.update doesn't work anymore. It should be await canvas.scene.updateEmbeddedDocuments('Token',[{_id:token.document.data._id, x: newCoords.x, y: newCoords.y}]);.

KayelGee commented 2 years ago

it can be replaced with token.document.update and token.id

KayelGee commented 2 years ago

Fixed in next update