forked from upstream/ProAntiTab
19 lines
577 B
Java
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());
|
|
}
|
|
}
|