Skip to content

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPrimate committed Dec 2, 2020
1 parent 2bfe0f2 commit a8e66d9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v 0.1.1

* Some monsters did not download avatar images correctly

# v 0.1.0

* Monster imports enabled for Patreon supporters
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "ddb-importer",
"title": "D&D Beyond Importer",
"description": "Import your dndbeyond.com characters, spells and monsters at super speed!",
"version": "0.1.0",
"download": "https://github.com/mrprimate/ddb-importer/releases/download/0.1.0/ddb-importer.zip",
"version": "0.1.1",
"download": "https://github.com/mrprimate/ddb-importer/releases/download/0.1.1/ddb-importer.zip",
"manifest": "https://github.com/mrprimate/ddb-importer/releases/download/latest/module.json",
"url": "https://github.com/mrprimate/ddb-importer",
"minimumCoreVersion": "0.7.5",
Expand Down
3 changes: 2 additions & 1 deletion src/muncher/monster/monster.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ export function parseMonsters(monsterData) {
foundryActor.name = monster.name;
// logger.info("********************");
// logger.info(monster.name);
let img = (monster.basicAvatarUrl) ? monster.basicAvatarUrl : monster.largeAvatarUrl;
foundryActor.token.name = monster.name;
foundryActor.flags.monsterMunch = {
url: monster.url,
img: monster.basicAvatarUrl,
img: (img) ? img : monster.avatarUrl,
tokenImg: monster.avatarUrl,
};

Expand Down

0 comments on commit a8e66d9

Please sign in to comment.