This commit is contained in:
Saturn5Vfive 2022-05-14 15:09:20 -05:00
commit 3ea1cc40a6
3 changed files with 3 additions and 4 deletions

View file

@ -23,7 +23,7 @@ public class AdBlock extends Module {
}
PacketEvent pe = (PacketEvent) event;
if (pe.getPacket() instanceof GameMessageS2CPacket msg) {
if (msg.getMessage().getString().contains("[AD]")) {
if (msg.getMessage().getString().contains("[AD]") || msg.getMessage().getString().contains("[Minehut]") || msg.getMessage().getString().contains("https://minecraftservers.org/vote/443456")) {
event.setCancelled(true);
blocked++;
}

View file

@ -1,2 +1 @@
removed rat
chadified the client
Added more adblock message matches.

View file

@ -1 +1 @@
21
22