ru.cwcode.commands.paperplatform.paper.PaperCommandParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of PaperCommands Show documentation
Show all versions of PaperCommands Show documentation
Commands library for Paper (Minecraft)
The newest version!
package ru.cwcode.commands.paperplatform.paper;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.jetbrains.annotations.NotNull;
import ru.cwcode.commands.Command;
import ru.cwcode.commands.CommandParser;
public class PaperCommandParser extends CommandParser implements CommandExecutor {
public PaperCommandParser(Command command) {
super(command);
}
@Override
public boolean onCommand(@NotNull CommandSender commandSender, org.bukkit.command.@NotNull Command command, @NotNull String usedAlias, @NotNull String[] strings) {
return onCommandExecute(new PaperSender(commandSender), usedAlias, strings);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy