Fix a bug with the item groups having the formatted totalWeight instead of group-only weight

This commit is contained in:
Oliver 2026-04-23 17:20:12 -06:00
parent 5073c972e8
commit 2c915c82e8

View file

@ -345,7 +345,7 @@ export class PlayerSheet extends
ctx.itemGroups.push({ ctx.itemGroups.push({
name: groupName.titleCase(), name: groupName.titleCase(),
items: preparedItems, items: preparedItems,
weight: config.weightFormatter(totalWeight), weight: config.weightFormatter(summedWeight),
}); });
}; };