Increase sleep time to fix AntiAFK
As I understand, it executes command even before entered the server. New time should avoid it, but it's just a workaround. You should somehow wait for world to load + 5 seconds. BTW, commands in limbo execute much slower, increase timeout there in ~3 times in the future.
This commit is contained in:
parent
242b2835f7
commit
2c7f4250ca
1 changed files with 3 additions and 3 deletions
|
@ -102,11 +102,11 @@ public class ChatReceivedEvent {
|
||||||
Utils.addTitle("You got sent to Limbo or Lobby!");
|
Utils.addTitle("You got sent to Limbo or Lobby!");
|
||||||
Flipper.state = FlipperState.NONE;
|
Flipper.state = FlipperState.NONE;
|
||||||
if (Lilase.cofl.isOpen()) Lilase.cofl.toggleAuction();
|
if (Lilase.cofl.isOpen()) Lilase.cofl.toggleAuction();
|
||||||
Thread.sleep(5000 + new Random().nextInt(500));
|
Thread.sleep(30000 + new Random().nextInt(5000));
|
||||||
Utils.sendServerMessage("/lobby");
|
Utils.sendServerMessage("/lobby");
|
||||||
Thread.sleep(5000 + new Random().nextInt(500));
|
Thread.sleep(30000 + new Random().nextInt(5000));
|
||||||
Utils.sendServerMessage("/skyblock");
|
Utils.sendServerMessage("/skyblock");
|
||||||
Thread.sleep(5000 + new Random().nextInt(500));
|
Thread.sleep(30000 + new Random().nextInt(5000));
|
||||||
Utils.sendServerMessage("/hub");
|
Utils.sendServerMessage("/hub");
|
||||||
if (!Lilase.cofl.isOpen()) Lilase.cofl.toggleAuction();
|
if (!Lilase.cofl.isOpen()) Lilase.cofl.toggleAuction();
|
||||||
// Thread bzchillingthread = new Thread(bazaarChilling);
|
// Thread bzchillingthread = new Thread(bazaarChilling);
|
||||||
|
|
Loading…
Reference in a new issue