diff --git a/CHANGELOG.md b/CHANGELOG.md index cc8c00d..5d32a29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# Version 1.10.2 +- Fixed how the module passes down targets to AA and Macros. (#17) +- Added "Debug Mode" setting. + # Version 1.10.1 - Fixed Sneak Attack. For real this time. diff --git a/module.json b/module.json index a540bcd..04b8cff 100644 --- a/module.json +++ b/module.json @@ -16,7 +16,7 @@ } ], "url": "https://github.com/MrVauxs/pf2e-jb2a-macros", - "version": "1.10.1", + "version": "1.10.2", "minimumCoreVersion": "9", "compatibleCoreVersion": "9", "compatibility": { diff --git a/module/module.js b/module/module.js index 302e0f5..dc8b086 100644 --- a/module/module.js +++ b/module/module.js @@ -1,4 +1,4 @@ -let version = "1.10.1"; +const version = game.modules.get("pf2e-jb2a-macros").data.version; const versionsWithAutorecUpdates = ["1.9.2", "1.10.0"]; function debug(msg, args = "") { @@ -132,9 +132,6 @@ Hooks.on("createChatMessage", async (data) => { let flavor = data.data.flavor ?? null; let args = data ?? null; - debug("What is it", { array: Array.from(game.user.targets), targets: targets}) - debug("Macro Args", {targets, token, flavor, args}); - // Persistent Damage Matches if (/Received Fast Healing|Persistent \w+ damage/.test(flavor)) { if (game.modules.get("pf2e-persistent-damage")?.active) {