tidy5e-sheet
tidy5e-sheet copied to clipboard
TidySheet5e shows error notification if Exhaustion mapping in Tidysheet does not match CUB
See https://github.com/death-save/combat-utility-belt/issues/683
Fix add {warn: false}
in game.cub.hasCondition
call
https://github.com/sdenec/tidy5e-sheet/blob/5b335cce2ada9cdd07d378430e517ded8dcfe020/src/scripts/app/exhaustion.js#L162
Alternately, remove hasCondition
call and simply call removeCondition
with {warn: false}
if (tier != `${effectName} ${exhaustion}`){
// console.log(tier);
await game.cub.removeCondition(tier, [token], {warn: false});
}