Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPrimate committed Jul 24, 2024
1 parent f42d24c commit cbb444d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/hooks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,17 @@ export function initHooks() {
["dae"],
[
"CONFIG.ActiveEffect.documentClass.prototype.isTemporary",
"CONFIG.ActiveEffect.documentClass.prototype.apply"
"CONFIG.ActiveEffect.documentClass.prototype.apply",
],
);

libWrapper.register("ActiveAuras", "CONFIG.ActiveEffect.documentClass.prototype.apply", AAHelpers.applyWrapper, "MIXED");
libWrapper.register(
"ActiveAuras",
"CONFIG.ActiveEffect.documentClass.prototype.apply",
AAHelpers.applyWrapper,
"WRAPPER"
);


libWrapper.register(
"ActiveAuras",
Expand Down Expand Up @@ -126,7 +132,7 @@ export async function readyHooks() {
}

export function socketLibReadyHooks() {
setProperty(CONFIG, "AA.Socket", null);
foundry.utils.setProperty(CONFIG, "AA.Socket", null);
CONFIG.AA.Socket = socketlib.registerModule("ActiveAuras");
CONFIG.AA.Socket.register("userCollate", CollateAuras);
}

0 comments on commit cbb444d

Please sign in to comment.