kckaiwei / TurnMarker-alt

Turn Marker is a module for Foundry VTT that adds an image under a token who is currently active in the combat tracker.
7 stars 16 forks source link

[BUG] 0.8+compatibility #66

Closed kckaiwei closed 3 years ago

kckaiwei commented 3 years ago

Add compatibility for 0.8.6

Main changes, creating Tiles is different, new Tile() requires TileDocument, which I'm not too sure on how to pull yet, so using createEmbeddedDocuments for now. (It replaced createEmbeddedEntity)

TileData is a thing as well, so that's one more layer when pulling data from tiles, such as id

We grab placeables using background instead now. There's a foreground and background layer. We're interested in using the background layer for now.