Skip to content

Commit

Permalink
version 2.1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
p4535992 committed Apr 16, 2022
1 parent 13e716a commit 5f658b2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

### 2.1.26

- Bug fix

### 2.1.25

- Update typescript
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "foundryvtt-arms-reach",
"title": "FoundryVTT Arms Reach",
"description": "Allows the GM to limit the distance that a player can interacted with a placeable object like door, journal, stairway, token, ecc..",
"version": "2.1.25",
"version": "2.1.26",
"scripts": {
"package": "gulp package",
"build": "gulp build && gulp link",
Expand Down
8 changes: 4 additions & 4 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "foundryvtt-arms-reach",
"title": "FoundryVTT Arms Reach",
"description": "Allows the GM to limit the distance that a player can interacted with a placeable object like door, journal, stairway, token, ecc..",
"version": "2.1.25",
"version": "2.1.26",
"author": "Psyny, p4535992",
"type": "module",
"socket": true,
Expand Down Expand Up @@ -46,9 +46,9 @@
"manifestPlusVersion": "1.2.1",
"url": "https://github.com/p4535992/foundryvtt-arms-reach",
"manifest": "https://github.com/p4535992/foundryvtt-arms-reach/releases/latest/download/module.json",
"download": "https://github.com/p4535992/foundryvtt-arms-reach/releases/download/v2.1.25/module.zip",
"readme": "https://github.com/p4535992/foundryvtt-arms-reach/blob/v2.1.25/README.md",
"changelog": "https://github.com/p4535992/foundryvtt-arms-reach/blob/v2.1.25/changelog.md",
"download": "https://github.com/p4535992/foundryvtt-arms-reach/releases/download/v2.1.26/module.zip",
"readme": "https://github.com/p4535992/foundryvtt-arms-reach/blob/v2.1.26/README.md",
"changelog": "https://github.com/p4535992/foundryvtt-arms-reach/blob/v2.1.26/changelog.md",
"bugs": "https://github.com/p4535992/foundryvtt-arms-reach/issues",
"allowBugReporter": true,
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion src/module/lib/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export function getElevationPlaceableObject(placeableObject: any): number {
_levels?.advancedLOS &&
(placeableObject instanceof Token || placeableObject instanceof TokenDocument)
? //@ts-ignore
_levels.getTokenLOSheight(token)
_levels.getTokenLOSheight(placeableObject)
: base.elevation ??
base.flags['levels']?.elevation ??
base.flags['levels']?.rangeBottom ??
Expand Down

0 comments on commit 5f658b2

Please sign in to comment.