diff --git a/src/main/java/net/shadow/client/feature/command/impl/Crash.java b/src/main/java/net/shadow/client/feature/command/impl/Crash.java index 76f0233..145fc5a 100644 --- a/src/main/java/net/shadow/client/feature/command/impl/Crash.java +++ b/src/main/java/net/shadow/client/feature/command/impl/Crash.java @@ -12,7 +12,6 @@ import net.shadow.client.feature.command.argument.PlayerFromNameArgumentParser; import net.shadow.client.feature.command.coloring.ArgumentType; import net.shadow.client.feature.command.coloring.PossibleArgument; import net.shadow.client.feature.command.coloring.StaticArgumentServer; -import net.shadow.client.feature.command.examples.ExampleServer; import net.shadow.client.feature.command.exception.CommandException; import java.util.Objects; @@ -27,10 +26,6 @@ public class Crash extends Command { return StaticArgumentServer.serveFromStatic(index, new PossibleArgument(ArgumentType.STRING, Objects.requireNonNull(ShadowMain.client.world).getPlayers().stream().map(abstractClientPlayerEntity -> abstractClientPlayerEntity.getGameProfile().getName()).toList().toArray(String[]::new))); } - @Override - public ExamplesEntry getExampleArguments() { - return ExampleServer.getPlayerNames(); - } @Override public void onExecute(String[] args) throws CommandException { diff --git a/src/main/java/net/shadow/client/feature/command/impl/Find.java b/src/main/java/net/shadow/client/feature/command/impl/Find.java index d2dba38..01f6e7e 100644 --- a/src/main/java/net/shadow/client/feature/command/impl/Find.java +++ b/src/main/java/net/shadow/client/feature/command/impl/Find.java @@ -22,7 +22,6 @@ import net.shadow.client.feature.command.Command; import net.shadow.client.feature.command.coloring.ArgumentType; import net.shadow.client.feature.command.coloring.PossibleArgument; import net.shadow.client.feature.command.coloring.StaticArgumentServer; -import net.shadow.client.feature.command.examples.ExampleServer; import net.shadow.client.feature.command.exception.CommandException; import net.shadow.client.helper.event.EventListener; import net.shadow.client.helper.event.EventType; @@ -46,11 +45,6 @@ public class Find extends Command { Events.registerEventHandlerClass(this); } - @Override - public ExamplesEntry getExampleArguments() { - return ExampleServer.getPlayerNames(); - } - @EventListener(type = EventType.PACKET_RECEIVE) void pRecv(PacketEvent pe) { if (!pendingBook) {