From 5ac9ff6ec94d8914d4a550dd0cc1d656bdb1e20f Mon Sep 17 00:00:00 2001 From: kirillsaint Date: Mon, 30 Oct 2023 12:38:13 +0600 Subject: [PATCH] Update AutoGGMod.java --- .../client/mods/hypixel/AutoGGMod.java | 25 ++++++------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/src/main/java/net/silentclient/client/mods/hypixel/AutoGGMod.java b/src/main/java/net/silentclient/client/mods/hypixel/AutoGGMod.java index b539f91..e9f36b1 100644 --- a/src/main/java/net/silentclient/client/mods/hypixel/AutoGGMod.java +++ b/src/main/java/net/silentclient/client/mods/hypixel/AutoGGMod.java @@ -1,13 +1,5 @@ package net.silentclient.client.mods.hypixel; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.concurrent.ThreadFactory; -import java.util.concurrent.atomic.AtomicInteger; - import net.minecraft.network.play.server.S02PacketChat; import net.silentclient.client.Client; import net.silentclient.client.event.EventTarget; @@ -16,6 +8,14 @@ import net.silentclient.client.mods.Mod; import net.silentclient.client.mods.ModCategory; import net.silentclient.client.mods.util.Server; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.ThreadFactory; +import java.util.concurrent.atomic.AtomicInteger; + public class AutoGGMod extends Mod { private static boolean isHypixel; @@ -57,15 +57,6 @@ public class AutoGGMod extends Mod { } return; } - - if(Server.isSilent()) { - String formattedMessage = e.getChatComponent().getFormattedText(); - if(formattedMessage.contains("§r§6Winner:")) { - AutoGGMod.isRunning = true; - AutoGGMod.THREAD_POOL.submit(new sendGG()); - } - return; - } if(AutoGGMod.isHypixel) { try {