Spaces:
Paused
Paused
Update bot.js
Browse files
bot.js
CHANGED
|
@@ -476,9 +476,6 @@ function createBot(username, authType, role, partnerName) {
|
|
| 476 |
botStatuses[username].status = "Aktif (Oyunda)";
|
| 477 |
|
| 478 |
// Config/login aşaması bitti, fiziği güvenle açabiliriz
|
| 479 |
-
setSafeTimeout(() => {
|
| 480 |
-
bot.physicsEnabled = true;
|
| 481 |
-
}, 1000);
|
| 482 |
|
| 483 |
if (config.utils && config.utils["auto-auth"] && config.utils["auto-auth"].enabled) {
|
| 484 |
const password = config.utils["auto-auth"].password;
|
|
@@ -492,6 +489,9 @@ function createBot(username, authType, role, partnerName) {
|
|
| 492 |
bot.chat("/skyblock");
|
| 493 |
botStatuses[username].skyblockDone = true;
|
| 494 |
logger.info(`[${username}] Skyblock'a ışınlanma komutu kullanıldı.`);
|
|
|
|
|
|
|
|
|
|
| 495 |
|
| 496 |
if (role === "main") {
|
| 497 |
if (!botStatuses[username].islandSetupComplete) {
|
|
|
|
| 476 |
botStatuses[username].status = "Aktif (Oyunda)";
|
| 477 |
|
| 478 |
// Config/login aşaması bitti, fiziği güvenle açabiliriz
|
|
|
|
|
|
|
|
|
|
| 479 |
|
| 480 |
if (config.utils && config.utils["auto-auth"] && config.utils["auto-auth"].enabled) {
|
| 481 |
const password = config.utils["auto-auth"].password;
|
|
|
|
| 489 |
bot.chat("/skyblock");
|
| 490 |
botStatuses[username].skyblockDone = true;
|
| 491 |
logger.info(`[${username}] Skyblock'a ışınlanma komutu kullanıldı.`);
|
| 492 |
+
setSafeTimeout(() => {
|
| 493 |
+
bot.physicsEnabled = true;
|
| 494 |
+
}, 2000);
|
| 495 |
|
| 496 |
if (role === "main") {
|
| 497 |
if (!botStatuses[username].islandSetupComplete) {
|