diff --git a/src/main/java/net/shadow/client/feature/module/impl/misc/AdBlock.java b/src/main/java/net/shadow/client/feature/module/impl/misc/AdBlock.java index 9cef5d0..74f55ca 100644 --- a/src/main/java/net/shadow/client/feature/module/impl/misc/AdBlock.java +++ b/src/main/java/net/shadow/client/feature/module/impl/misc/AdBlock.java @@ -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++; } diff --git a/src/main/resources/changelogLatest.txt b/src/main/resources/changelogLatest.txt index 6340b37..73abebd 100644 --- a/src/main/resources/changelogLatest.txt +++ b/src/main/resources/changelogLatest.txt @@ -1,2 +1 @@ -removed rat -chadified the client \ No newline at end of file +Added more adblock message matches. \ No newline at end of file diff --git a/src/main/resources/version.txt b/src/main/resources/version.txt index b5045cc..8fdd954 100644 --- a/src/main/resources/version.txt +++ b/src/main/resources/version.txt @@ -1 +1 @@ -21 \ No newline at end of file +22 \ No newline at end of file