Skip to content

Commit d7536de

Browse files
committed
a
1 parent f58d5cc commit d7536de

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/config.js

+1
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,7 @@ export function initConfig() {
831831
}
832832

833833
get quantity() {
834+
if(!this.item) return null;
834835
if (this.item.system.uses?.max) return this.item.system.uses.max - this.item.system.uses.spent;
835836
if (!this.activity) return null;
836837
const showQuantityItemTypes = ["consumable"];

0 commit comments

Comments
 (0)