From d3f09f802572e05be28c8f7a0272f689d14ff626 Mon Sep 17 00:00:00 2001 From: Peanutzy1 Date: Sun, 5 Oct 2025 23:06:17 +0700 Subject: [PATCH 1/2] set cached point map to undefined after doing click #2 --- src/playerCommands.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/playerCommands.ts b/src/playerCommands.ts index 8982aba..4d70cfe 100644 --- a/src/playerCommands.ts +++ b/src/playerCommands.ts @@ -215,6 +215,7 @@ export const commands = commandList({ const height = Math.abs(p1[1] - p2[1]); if(width > 50 || height > 50) fail("Selection too large: width/height cannot be more than 50."); handleArea(p1, p2); + cachedPointMap[sender.uuid] = undefined; if(!args.persist) handleTaps("off"); } }, From 1c68ced03a5686cfa192a3d6b26a6a17d65393d4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 5 Oct 2025 16:06:49 +0000 Subject: [PATCH 2/2] Automated TypeScript compile --- build/scripts/playerCommands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/build/scripts/playerCommands.js b/build/scripts/playerCommands.js index 87e450b..91cbae6 100644 --- a/build/scripts/playerCommands.js +++ b/build/scripts/playerCommands.js @@ -314,6 +314,7 @@ exports.commands = (0, commands_1.commandList)(__assign(__assign({ about: { if (width > 50 || height > 50) (0, commands_1.fail)("Selection too large: width/height cannot be more than 50."); handleArea(p1, p2); + cachedPointMap[sender.uuid] = undefined; if (!args.persist) handleTaps("off"); }