Skip to content

Commit

Permalink
1.0.16 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
IronMonk88 committed Mar 28, 2021
1 parent 5e35003 commit b207a41
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#Version 1.0.16
Fixed an issue with ignoring environment

#Version 1.0.15
Fixed and issue with elevation

Expand Down
4 changes: 4 additions & 0 deletions classes/terrain.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b207a41

Please sign in to comment.