Skip to content

Commit

Permalink
Update SystemProvider.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mclemente committed Jul 31, 2021
1 parent 3e4a3e1 commit 8de5ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/SystemProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export class pf2eProvider extends SystemProvider {
for (let item of containerItems) {
const itemData = item.data.data;
if (itemData.weight.value == "L") containers[itemData.containerId.value].lightCount += 1;
else containers[itemData.containerId.value].negateBulk += value;
else containers[itemData.containerId.value].negateBulk += (itemData.equipped.value ? Number(itemData.equippedBulk.value || itemData.weight.value) : Number(itemData.weight.value)) || 0;
}
for (let container in containers) {
if (containers[container].equipped) {
Expand Down

0 comments on commit 8de5ca9

Please sign in to comment.