mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:51:32 +01:00
Update AutoGGMod.java
This commit is contained in:
parent
6874904b15
commit
5ac9ff6ec9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user