Use isInventoryItem to set quantity

This commit is contained in:
Carlos Fernandez 2026-04-16 05:07:08 -04:00
parent dc3390711f
commit aa8e8678fa
5 changed files with 4 additions and 6 deletions

View file

@ -14,10 +14,8 @@ export default class DHLoot extends BaseDataItem {
/** @inheritDoc */
static defineSchema() {
const fields = foundry.data.fields;
return {
...super.defineSchema(),
quantity: new fields.NumberField({ integer: true, initial: 1, min: 0, required: true }),
};
}