Skip to content

Commit

Permalink
Merge pull request dmdorman#1173 from aeauseth/main
Browse files Browse the repository at this point in the history
Publish 3.0.91
  • Loading branch information
aeauseth authored Aug 25, 2024
2 parents 90dbc5f + c60df2c commit 605413e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Releases

## Version 3.0.91 [Hero System 6e (Unofficial) v2](https://github.com/dmdorman/hero6e-foundryvtt)

- Fixed issue creating compendiums [#1172](https://github.com/dmdorman/hero6e-foundryvtt/issues/1172)

## Version 3.0.90 [Hero System 6e (Unofficial) v2](https://github.com/dmdorman/hero6e-foundryvtt)

- Added NOTES to item descriptions [#1140](https://github.com/dmdorman/hero6e-foundryvtt/issues/1140)
Expand Down
6 changes: 6 additions & 0 deletions module/item/item.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,12 @@ export class HeroSystem6eItem extends Item {

_postUploadDetails() {
const item = this;

// Make sure we have an actor (like when creating compendiums)
if (!item.actor) {
return;
}

// showToggle
const itemEffects = item.effects.find(() => true);
if (itemEffects) {
Expand Down
2 changes: 1 addition & 1 deletion system.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "hero6e-foundryvtt-v2",
"title": "Hero System 6e (Unofficial) v2",
"description": "The Hero System 6e for FoundryVTT!",
"version": "3.0.90",
"version": "3.0.91",
"compatibility": {
"minimum": "11",
"verified": "12.330",
Expand Down

0 comments on commit 605413e

Please sign in to comment.