Skip to content

Commit

Permalink
Update SniperFlipperEvents.java
Browse files Browse the repository at this point in the history
  • Loading branch information
night0721 authored Aug 12, 2023
1 parent 54f1db8 commit 9ccac63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void onPacketReceive(PacketReceivedEvent event) {
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);
}
Expand All @@ -119,7 +119,7 @@ public void onPacketReceive(PacketReceivedEvent event) {
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) {

}
Expand Down

0 comments on commit 9ccac63

Please sign in to comment.