Fix rols
This commit is contained in:
@@ -58,7 +58,8 @@ export class VadentisTokenHud {
|
||||
} );
|
||||
|
||||
let combatIcon = html.find('.control-icon.combat');
|
||||
if ( combatIcon[0].className.includes('active') ) {
|
||||
//console.log("COMBAT ICON", combatIcon)
|
||||
if ( combatIcon[0] && combatIcon[0].className.includes('active') ) {
|
||||
VadentisTokenHud.addExtensionHud( app, html, tokenId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user