Skip to content

Commit 03f56d5

Browse files
authored
Merge pull request #133 from Fish-Community/Peanutzy-aoelog
set cached point map to undefined after doing click #2
2 parents 1449750 + 1c68ced commit 03f56d5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build/scripts/playerCommands.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/playerCommands.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ export const commands = commandList({
215215
const height = Math.abs(p1[1] - p2[1]);
216216
if(width > 50 || height > 50) fail("Selection too large: width/height cannot be more than 50.");
217217
handleArea(p1, p2);
218+
cachedPointMap[sender.uuid] = undefined;
218219
if(!args.persist) handleTaps("off");
219220
}
220221
},

0 commit comments

Comments
 (0)