Spaces:
Paused
Paused
Update bot.js
Browse files
bot.js
CHANGED
|
@@ -2235,7 +2235,7 @@ const windowAtTransferStart = bot.currentWindow;
|
|
| 2235 |
|
| 2236 |
try {
|
| 2237 |
await bot.clickWindow(realSlotIndex, 0, 1); // mouseButton=0 (sol), mode=1 (shift)
|
| 2238 |
-
await new Promise(r => setTimeout(r,
|
| 2239 |
|
| 2240 |
const stillThere = bot.currentWindow.slots[realSlotIndex];
|
| 2241 |
if (!stillThere || stillThere.name !== itemInternalName) {
|
|
|
|
| 2235 |
|
| 2236 |
try {
|
| 2237 |
await bot.clickWindow(realSlotIndex, 0, 1); // mouseButton=0 (sol), mode=1 (shift)
|
| 2238 |
+
await new Promise(r => setTimeout(r, 1000 + Math.floor(Math.random() * 200)));
|
| 2239 |
|
| 2240 |
const stillThere = bot.currentWindow.slots[realSlotIndex];
|
| 2241 |
if (!stillThere || stillThere.name !== itemInternalName) {
|