Skip to content

Commit 431142e

Browse files
committed
a
1 parent a3369ef commit 431142e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-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

+2
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,8 @@ export function initConfig() {
641641
return getProperty(this.actor.system, this.item.system.consume.target);
642642
} else if (showQuantityItemTypes.includes(this.item.type)) {
643643
return this.item.system.uses?.value ?? this.item.system.quantity;
644+
} else if (this.item.system.uses.value !== null) {
645+
return this.item.system.uses.value;
644646
}
645647
return null;
646648
}

0 commit comments

Comments
 (0)