Skip to content

Commit

Permalink
Merge branch 'master' into 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Dec 16, 2021
2 parents 7f9972c + 9da369b commit 94540dd
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.5.8](https://github.com/valentine195/obsidian-5e-statblocks/compare/2.0.8...1.5.8) (2021-12-16)


### Bug Fixes

* fixed data.map bug ([11d68e8](https://github.com/valentine195/obsidian-5e-statblocks/commit/11d68e81f291b343acacac0a2497d390814faac3))

### [1.5.6](https://github.com/valentine195/obsidian-5e-statblocks/compare/2.0.8...1.5.6) (2021-12-16)


### Bug Fixes

* fixed data.map bug ([11d68e8](https://github.com/valentine195/obsidian-5e-statblocks/commit/11d68e81f291b343acacac0a2497d390814faac3))
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "obsidian-5e-statblocks",
"name": "TTRPG Statblocks",
"version": "2.0.3",
"version": "2.0.9",
"description": "Create 5e styled statblocks in Obsidian.md",
"minAppVersion": "0.12.0",
"author": "Jeremy Valentine",
"authorUrl": "",
"isDesktopOnly": false
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-5e-statblocks",
"version": "1.5.5",
"version": "2.0.0",
"description": "Create 5e styled statblocks in Obsidian.md",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ export default class StatBlockPlugin extends Plugin {
if (!data) this.data = new Map();

this.data = new Map(
data.map(([name, monster]) => {
data?.map(([name, monster]) => {
const statblock = Object.assign({}, monster);

return [name, statblock];
})
}) ?? []
);
}

Expand Down

0 comments on commit 94540dd

Please sign in to comment.