Starting macro after sent to limbo

This commit is contained in:
Night 2023-06-13 21:41:03 +01:00 committed by GitHub
parent be5df8f037
commit b65a0c4088
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ public class ChatReceivedEvent {
try { try {
if (this.lockForJoiningSkyblock.isLocked) return if (this.lockForJoiningSkyblock.isLocked) return
this.lockForJoiningSkyblock.lock() this.lockForJoiningSkyblock.lock()
Utils.debugLog("Detected in Limbo or Lobby, stopping everything for 5 minutes"); Utils.debugLog("Detected in Limbo or Lobby, sending you back to skyblock");
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();
@ -109,8 +109,11 @@ public class ChatReceivedEvent {
Utils.sendServerMessage("/lobby"); Utils.sendServerMessage("/lobby");
Thread.sleep(5000); Thread.sleep(5000);
Utils.sendServerMessage("/skyblock"); Utils.sendServerMessage("/skyblock");
Thread bzchillingthread = new Thread(bazaarChilling); Thread.sleep(5000);
bzchillingthread.start(); Utils.sendServerMessage("/hub");
if (!Lilase.cofl.isOpen()) Lilase.cofl.toggleAuction();
// Thread bzchillingthread = new Thread(bazaarChilling);
// bzchillingthread.start();
} catch (Exception ignored) { } catch (Exception ignored) {
} }
} }