Skip to content

Commit

Permalink
finally?
Browse files Browse the repository at this point in the history
  • Loading branch information
Coccocoahelper authored Jun 13, 2024
1 parent 79fbbb8 commit ec04646
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ public CommandManager() {
this.addCommand(new Discord());
this.addCommand(new ConfigCommand());
this.addCommand(new Clear());
this.addCommand(new Cname());
this.addCommand(new Debug());
this.addCommand(new Fakechat());
this.addCommand(new Nick());
this.addCommand(new Ping());
this.addCommand(new Shoutout());
this.addCommand(new Friends());
this.addCommand(new VersionCommand());
this.addCommand(new F3Name());

}

Expand Down
23 changes: 0 additions & 23 deletions src/main/java/keystrokesmod/client/command/commands/Cname.java

This file was deleted.

27 changes: 0 additions & 27 deletions src/main/java/keystrokesmod/client/command/commands/F3Name.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public ModuleManager() {
addModule(new Xray());
addModule(new MurderMystery());
addModule(new SumoFences());
addModule(new ClientNameSpoof());
addModule(new FakeChat());
addModule(new StringEncrypt());
addModule(new WaterBucket());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import keystrokesmod.client.module.modules.combat.Reach;
import keystrokesmod.client.module.modules.movement.KeepSprint;
import keystrokesmod.client.module.modules.movement.NoSlow;
import keystrokesmod.client.module.modules.other.NameHider;
import keystrokesmod.client.module.modules.other.StringEncrypt;
import keystrokesmod.client.module.modules.player.SafeWalk;
import keystrokesmod.client.module.modules.render.AntiShuffle;
Expand All @@ -21,14 +20,9 @@ public class ASMEventHandler {

/**
* called when Minecraft format text
* ASM Modules : NameHider, AntiShuffle, StringEncrypt
* ASM Modules : AntiShuffle, StringEncrypt
*/
public static String getUnformattedTextForChat(String s) {
Module nameHider = Raven.moduleManager.getModuleByClazz(NameHider.class);
if (nameHider != null && nameHider.isEnabled()) {
s = NameHider.getUnformattedTextForChat(s);
}

Module antiShuffle = Raven.moduleManager.getModuleByClazz(StringEncrypt.class);
if (antiShuffle != null && antiShuffle.isEnabled()) {
s = AntiShuffle.getUnformattedTextForChat(s);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import keystrokesmod.client.main.Raven;
import keystrokesmod.client.module.Module;
import keystrokesmod.client.module.ModuleManager;
import keystrokesmod.client.module.modules.client.ClientNameSpoof;
import net.minecraftforge.fml.common.Loader;
import org.objectweb.asm.tree.*;

Expand Down Expand Up @@ -51,10 +50,6 @@ private InsnList getInsn() {
}

public static String getModName() {
Module cns = Raven.moduleManager.getModuleByClazz(ClientNameSpoof.class);
if (cns != null && cns.isEnabled()){
return ClientNameSpoof.newName;
}
List<String> modNames = Lists.newArrayListWithExpectedSize(3);
modNames.add("fml");
modNames.add("forge");
Expand Down

0 comments on commit ec04646

Please sign in to comment.