Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
espositos committed Sep 16, 2020
2 parents 421cb57 + fcde562 commit 4123a63
Show file tree
Hide file tree
Showing 2 changed files with 5 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 @@
# Changelog

## [0.7.14] 2020-09-16
### Bugfix
- MagicItemExtender - embarrassingly failed to apply De Morgan's law properly when checking null inventory

## [0.7.13] 2020-09-16
### Bugfix
- PF2e - Something I don't understand with skill checks was failing
Expand Down
2 changes: 1 addition & 1 deletion scripts/actions/dnd5e/magicItemsExtender.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class MagicItemActionListExtender extends ActionListExtender {
let itemCategories = actionList.categories.find(c => c.id === 'inventory');
let actor = MagicItems.actor(actorId);

if (!(actor || itemCategories))
if (!(actor && itemCategories))
return;

let magicItems = actor.items ?? [];
Expand Down

0 comments on commit 4123a63

Please sign in to comment.