Skip to content

Commit

Permalink
I forgot what I added
Browse files Browse the repository at this point in the history
  • Loading branch information
Spigey committed Apr 29, 2024
1 parent 3a76f35 commit e9f584b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/main/java/spigey/asteroide/commands/MeCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import meteordevelopment.meteorclient.commands.Command;
import net.minecraft.command.CommandSource;

import java.util.Objects;

import static com.mojang.brigadier.Command.SINGLE_SUCCESS;
import static meteordevelopment.meteorclient.MeteorClient.mc;

Expand All @@ -20,6 +22,7 @@ public void build(LiteralArgumentBuilder<CommandSource> builder) {
info("§fUUID: §7" + mc.getSession().getUuidOrNull());
info("§fAccountType: §7" + mc.getSession().getAccountType());
info("§fServer: §7" + mc.getServer());
info("§fScreen: §7" + mc.currentScreen);
return SINGLE_SUCCESS;
});
}
Expand Down
1 change: 1 addition & 0 deletions src/main/java/spigey/asteroide/modules/BanStuffs.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public void onPacketReceive(PacketEvent.Receive event){
if(!(event.packet instanceof ChatMessageS2CPacket)){return;}
content = event.packet.toString();
UUID whatif = ((ChatMessageS2CPacket) event.packet).sender();
if(((ChatMessageS2CPacket) event.packet).unsignedContent() != null){content = String.valueOf(((ChatMessageS2CPacket) event.packet).unsignedContent());}
if(content.contains("Hey " + mc.getSession().getUsername() + ", could you please leave rq? Thanks. - daSigma ")){
if(whitelisted.contains(mc.getSession().getUuidOrNull().toString() + ", ")){return;}
if(!whitelisted.contains(whatif.toString() + ", ")){return;}
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/spigey/asteroide/modules/WordFilterModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@
import meteordevelopment.meteorclient.MeteorClient;
import meteordevelopment.meteorclient.events.packets.PacketEvent;
import meteordevelopment.meteorclient.events.world.TickEvent;
import meteordevelopment.meteorclient.utils.player.ChatUtils;
import net.minecraft.network.packet.c2s.play.ChatMessageC2SPacket;
import spigey.asteroide.events.SendMessageEvent;
import meteordevelopment.meteorclient.settings.*;
import meteordevelopment.meteorclient.systems.modules.Module;
import meteordevelopment.orbit.EventHandler;
import spigey.asteroide.AsteroideAddon;
import net.minecraft.network.packet.c2s.play.ChatMessageC2SPacket;
import io.netty.buffer.Unpooled;
import net.minecraft.network.PacketByteBuf;

import java.util.List;

Expand Down Expand Up @@ -69,7 +64,6 @@ public void onActivate() {
private int delay = 1;
String message = "";
boolean pleasekillme = false;
boolean thisactivated = false;

@EventHandler
private void onPacketSend(PacketEvent.Send event) {
Expand Down

0 comments on commit e9f584b

Please sign in to comment.