diff --git a/src/main.mjs b/src/main.mjs index 5037138..f1c85f5 100644 --- a/src/main.mjs +++ b/src/main.mjs @@ -2,6 +2,7 @@ const { TypeDataModel } = foundry.abstract; const { SchemaField, NumberField, StringField, BooleanField } = foundry.data.fields; const { ActorSheetV2, ItemSheetV2 } = foundry.applications.sheets; const { ApplicationV2, HandlebarsApplicationMixin } = foundry.applications.api; +const { Notifications } = foundry.applications.ui; const { OperatorTerm, NumericTerm } = foundry.dice.terms; Hooks.once("i18nInit", async function() { @@ -18,7 +19,7 @@ class DSA41_Notifications extends Notifications { notify(message, type="info", {localize=false, permanent=false, console=true}={}) { if (permanent && message === "ERROR.RESOLUTION.Window") return; - + return super.notify(message, type, { localize, permanent, console }); } }