Files
ProAntiTab/src/main/java/de/rayzs/pat/plugin/commands/VelocityCommand.java
T
2024-05-09 23:24:26 +02:00

19 lines
577 B
Java

package de.rayzs.pat.plugin.commands;
import com.velocitypowered.api.command.SimpleCommand;
import de.rayzs.pat.plugin.process.CommandProcess;
import java.util.List;
public class VelocityCommand implements SimpleCommand {
@Override
public void execute(Invocation invocation) {
CommandProcess.handleCommand(invocation.source(), invocation.arguments(), "vpat");
}
@Override
public List<String> suggest(Invocation invocation) {
return CommandProcess.handleTabComplete(invocation.source(), invocation.arguments());
}
}