mirror of
https://github.com/RoY7x/worldbuilding.git
synced 2025-04-30 02:31:41 -04:00
11 lines
No EOL
344 B
JavaScript
11 lines
No EOL
344 B
JavaScript
export class SimpleTokenDocument extends TokenDocument {
|
|
|
|
/** @inheritdoc */
|
|
getBarAttribute(barName, {alternative}={}) {
|
|
const attr = super.getBarAttribute(barName, {alternative});
|
|
if ( attr === null ) return null;
|
|
attr.editable = true; // Attribute always editable, super requires attr to exist in actor template
|
|
return attr;
|
|
}
|
|
|
|
} |