Update SniperFlipperEvents.java
Some checks failed
build-ci / build (push) Has been cancelled

This commit is contained in:
Night 2023-08-12 10:57:51 +01:00 committed by GitHub
parent 54f1db859b
commit 9ccac630aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ public class SniperFlipperEvents {
if (InventoryUtils.inventoryNameStartsWith("BIN Auction View")) {
clickWindow(latestWindowId, 31);
Thread.sleep(300 + new Random().nextInt(100));
clickWindow(latestWindowId, 11);
clickWindow(latestWindowId + 1, 11);
tries++;
Thread.sleep(BED_SPAM_DELAY);
}
@ -119,7 +119,7 @@ public class SniperFlipperEvents {
try {
clickWindow(latestWindowId, 31);
Thread.sleep(300 + new Random().nextInt(100));
clickWindow(Lilase.mc.thePlayer.openContainer.windowId, 11);
clickWindow(latestWindowId + 1, 11);
} catch (Exception ignored) {
}