From 3abb2ba32fbedea02dac12d401324bf3a1fc1b49 Mon Sep 17 00:00:00 2001 From: Matheus Clemente Date: Mon, 23 Oct 2023 18:16:50 -0300 Subject: [PATCH] Update logic.js Fix #210. --- src/module/logic.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/module/logic.js b/src/module/logic.js index 5da92c2..b8a292c 100644 --- a/src/module/logic.js +++ b/src/module/logic.js @@ -349,11 +349,10 @@ export class HealthEstimate { if (!isNaN(this.fontSize) && this.fontSize.match(/[0-9]*\.?[0-9]+(px|%)+/i)) { this.fontSize = Number(this.fontSize.replace(/(px|%)+/i, "")); } else { - ui.notifications.warn( + console.warn( `Health Estimate | ${game.i18n.format("healthEstimate.notifications.invalidFontSize", { fontSize: this.fontSize, - })}`, - { permanent: true } + })}` ); this.fontSize = 24; }