From 7f26cd36347c912386d85a44f915c35558a81ed9 Mon Sep 17 00:00:00 2001 From: NK Date: Sat, 25 Feb 2023 23:29:25 +0000 Subject: [PATCH] remove useless line --- src/main/java/me/night0721/lilase/Lilase.java | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/main/java/me/night0721/lilase/Lilase.java b/src/main/java/me/night0721/lilase/Lilase.java index 1e41d58..52a1586 100644 --- a/src/main/java/me/night0721/lilase/Lilase.java +++ b/src/main/java/me/night0721/lilase/Lilase.java @@ -62,17 +62,11 @@ public class Lilase { public void onTick(TickEvent.ClientTickEvent event) throws IOException { if (mc.thePlayer == null || event.phase != TickEvent.Phase.START) return; tickAmount++; - if (tickAmount % 20 == 0) { - Utils.checkForDungeon(); - } - if (tickAmount % (20 * AUCTION_HOUSE_DELAY) == 0) { - auctionHouse.getItem(); - } - if (tickAmount % 2400 == 0) { - ConfigUtils.checkWebhookAndAPI(); - } + if (tickAmount % 20 == 0) Utils.checkForDungeon(); + if (tickAmount % (20 * AUCTION_HOUSE_DELAY) == 0) auctionHouse.getItem(); + if (tickAmount % 2400 == 0) ConfigUtils.checkWebhookAndAPI(); AuctionHouse.flipper.switchStates(); - if ((mc.currentScreen instanceof GuiDisconnected)) { + if (mc.currentScreen instanceof GuiDisconnected) { if (waitTime >= (RECONNECT_DELAY * 20)) { waitTime = 0; FMLClientHandler.instance().connectToServer(new GuiMultiplayer(new GuiMainMenu()), new ServerData(" ", "mc.hypixel.net", false));