Update foundry for v12
This commit is contained in:
@@ -115,7 +115,7 @@ export class GenericSpeedProvider extends SpeedProvider {
|
||||
getRanges(token) {
|
||||
const speedAttribute = this.getSetting("speedAttribute");
|
||||
if (!speedAttribute) return [];
|
||||
const tokenSpeed = parseFloat(getProperty(token, speedAttribute));
|
||||
const tokenSpeed = parseFloat(foundry.utils.getProperty(token, speedAttribute));
|
||||
if (tokenSpeed === undefined) {
|
||||
console.warn(
|
||||
`Drag Ruler (Generic Speed Provider) | The configured token speed attribute "${speedAttribute}" didn't return a speed value. To use colors based on drag distance set the setting to the correct value (or clear the box to disable this feature).`,
|
||||
|
||||
Reference in New Issue
Block a user