mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-28 18:26:15 -05:00
Merge branch 'master' of https://github.com/Moles-LLC/Shadow
This commit is contained in:
commit
3ea1cc40a6
3 changed files with 3 additions and 4 deletions
|
@ -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++;
|
||||
}
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
removed rat
|
||||
chadified the client
|
||||
Added more adblock message matches.
|
|
@ -1 +1 @@
|
|||
21
|
||||
22
|
Loading…
Reference in a new issue