Prevent aboveTheFold attributes from being listed in the tab
This commit is contained in:
parent
4284340b87
commit
dbaac0cf29
1 changed files with 2 additions and 0 deletions
|
|
@ -314,6 +314,8 @@ export class PlayerSheet extends
|
|||
const groups = new Map();
|
||||
const attrs = this.actor.itemTypes.attribute ?? [];
|
||||
for (const attr of attrs) {
|
||||
if (attr.system.aboveTheFold) { continue };
|
||||
|
||||
const groupName = attr.system.group ?? "Attributes";
|
||||
if (!groups.has(groupName)) {
|
||||
groups.set(groupName, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue