mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-15 08:16:40 +00:00
Update Auto-Image.js
This commit is contained in:
1 parent
4a9626eace
commit
ac317c3d6a
1 file changed
+2
-1
+2
-1
@@ -1524,7 +1524,8 @@ async function autoRefreshSequence() {
|
||||
const success = await sendPixelBatch(pixelBatch, regionX, regionY);
|
||||
|
||||
if (success === "token_error") {
|
||||
if (state.autoRefresh) {
|
||||
// Only auto-refresh if enabled and more than 1 charge available
|
||||
if (state.autoRefresh && state.currentCharges > 1) {
|
||||
// CAPTCHA expired: keep trying refresh and retry until token works
|
||||
updateUI("captchaNeeded", "error");
|
||||
Utils.showAlert(Utils.t("captchaNeeded"), "error");
|
||||
|
||||
Reference in new issue
Block a user