Closed BoltsJ closed 1 year ago
If hex-size-support is not installed, this line throws an error. https://github.com/manuelVo/foundryvtt-drag-ruler/blob/develop/src/util.js#L67
get(…).api should be optional chained to get(…)?.api to support the case where hss isn't installed at all
get(…).api
get(…)?.api
Oops. Thanks!
If hex-size-support is not installed, this line throws an error. https://github.com/manuelVo/foundryvtt-drag-ruler/blob/develop/src/util.js#L67
get(…).api
should be optional chained toget(…)?.api
to support the case where hss isn't installed at all