mirror of
https://github.com/Miasmusa/Shadow.git
synced 2024-11-14 19:04:54 -05:00
mixins.top
This commit is contained in:
parent
1a7d652154
commit
ace390f919
2 changed files with 0 additions and 11 deletions
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue