We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fvtt-terrain-mapper/scripts/TerrainLayer.js
Line 349 in 53a8b7c
Description: FVTT Set::map function ensures initial and resulting sets are of same size, but it might not be correct with mapping, so error arises.
How to reproduce:
Solution: Call to .map should be replaced with manual transform, something like
const terrains = new Set(); this.terrainLevelsAt(location) .filter(t => t.activeAt(elevation, location)) .forEach(t => terrains.add(t.terrain)) return terrains
The text was updated successfully, but these errors were encountered:
Fix Set map modification errors.
77d577a
Closes issue #21.
Thanks! Should be fixed in v0.1.1.
Sorry, something went wrong.
No branches or pull requests
fvtt-terrain-mapper/scripts/TerrainLayer.js
Line 349 in 53a8b7c
Description:
FVTT Set::map function ensures initial and resulting sets are of same size, but it might not be correct with mapping, so error arises.
How to reproduce:
Solution:
Call to .map should be replaced with manual transform, something like
The text was updated successfully, but these errors were encountered: