Update AutoGGMod.java

This commit is contained in:
kirillsaint 2023-10-30 12:38:13 +06:00
parent 6874904b15
commit 5ac9ff6ec9

View File

@ -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;
@ -58,15 +58,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 {
String unformattedMessage = e.getChatComponent().getUnformattedText();