Suvarii commited on
Commit
a832e83
·
verified ·
1 Parent(s): 48bdb3c

Update bot.js

Browse files
Files changed (1) hide show
  1. bot.js +1 -1
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, 250));
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) {