Skip to content

Commit

Permalink
Reduce V12 log spam even more (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster authored Aug 12, 2024
1 parent f51508c commit 80dedb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions module/pf2e-animations.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pf2eAnimations.hooks.ready = Hooks.once("ready", () => {
};
})
.filter((i) =>
isNewerVersion(
foundry.utils.isNewerVersion(
i.version,
game.modules.get(i.id).version?.replace(/v|!/g, "")
)
Expand Down Expand Up @@ -564,7 +564,7 @@ pf2eAnimations.runMacro = async function runJB2Apf2eMacro(
);

if (macro_data) {
if (isNewerVersion(game.version, "11")) {
if (foundry.utils.isNewerVersion(game.version, "11")) {
await macro_data.execute({ args });
} else {
const temp_macro = new Macro(macro_data.toObject());
Expand All @@ -578,11 +578,11 @@ pf2eAnimations.runMacro = async function runJB2Apf2eMacro(
const version = game.modules.get("advanced-macros")?.version;
const bugAdvancedMacros =
game.modules.get("advanced-macros")?.active &&
isNewerVersion(
foundry.utils.isNewerVersion(
version.startsWith("v") ? version.slice(1) : version,
"1.18.2"
) &&
!isNewerVersion(
!foundry.utils.isNewerVersion(
version.startsWith("v") ? version.slice(1) : version,
"1.19.1"
);
Expand Down

0 comments on commit 80dedb2

Please sign in to comment.