Lint and cleanup unused code

This commit is contained in:
Oliver 2026-04-26 19:39:44 -06:00
parent de1b976b12
commit 5d951d043b
5 changed files with 6 additions and 7 deletions

View file

@ -90,7 +90,7 @@ export class AttributeItemData extends foundry.abstract.TypeDataModel {
const max = getProperty(data, `system.max`) ?? this.max;
let min = getProperty(data, `system.min`) ?? this.min;
if (max != null) { min ??= 0; };
if (max != null) { min ??= 0 };
setProperty(data, `system.value`, clamp(min, value, max));
};
@ -106,6 +106,7 @@ export class AttributeItemData extends foundry.abstract.TypeDataModel {
if (this.isRange) {
return this.min ?? 0;
};
return null;
};
// #endregion Methods
};