Cleanup logger statements
This commit is contained in:
parent
db3cad909e
commit
02b49687cf
3 changed files with 1 additions and 8 deletions
|
|
@ -1,5 +1,3 @@
|
|||
import { Logger } from "../utils/Logger.mjs";
|
||||
|
||||
const { TokenDocument } = foundry.documents;
|
||||
const { getProperty, getType, hasProperty, isSubclass } = foundry.utils;
|
||||
|
||||
|
|
@ -61,7 +59,7 @@ export class TAFTokenDocument extends TokenDocument {
|
|||
*/
|
||||
getBarAttribute(barName, {alternative} = {}) {
|
||||
const attribute = alternative || this[barName]?.attribute;
|
||||
Logger.log(barName, attribute);
|
||||
|
||||
if (!attribute || !this.actor) {
|
||||
return null;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue