From b207a412cd6eae0424ac6ea5b63c218bd5e88d52 Mon Sep 17 00:00:00 2001 From: IronMonk88 Date: Sun, 28 Mar 2021 16:20:58 -0700 Subject: [PATCH] 1.0.16 changes --- CHANGELOG.md | 3 +++ classes/terrain.js | 4 ++++ module.json | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36ed251..24391fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +#Version 1.0.16 +Fixed an issue with ignoring environment + #Version 1.0.15 Fixed and issue with elevation diff --git a/classes/terrain.js b/classes/terrain.js index 6809fd5..b4e5523 100644 --- a/classes/terrain.js +++ b/classes/terrain.js @@ -75,6 +75,10 @@ export class Terrain extends PlaceableObject { return this.data.terraintype || Terrain.defaults.terraintype; } + get environment() { + return this.data.environment; + } + static async create(data, options) { //super.create(data, options); diff --git a/module.json b/module.json index ef03ea9..89879a7 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "enhanced-terrain-layer", "title": "Enhanced Terrain Layer", "description": "A base module that adds a Terrain Layer to Foundry. Used as a library for Rulers and other modules", - "version": "1.0.15", + "version": "1.0.16", "author": "IronMonk, ironmonk88#4075", "socket": true, "languages": [ @@ -30,7 +30,7 @@ "styles": [ "css/terrainlayer.css" ], "packs": [], "url" : "https://github.com/ironmonk88/enhanced-terrain-layer", - "download" : "https://github.com/ironmonk88/enhanced-terrain-layer/archive/1.0.15.zip", + "download" : "https://github.com/ironmonk88/enhanced-terrain-layer/archive/1.0.16.zip", "manifest" : "https://github.com/ironmonk88/enhanced-terrain-layer/releases/latest/download/module.json", "bugs": "https://github.com/ironmonk88/enhanced-terrain-layer/issues", "allowBugReporter": true,