All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.cwcode.commands.paperplatform.paper.PaperCommandParser Maven / Gradle / Ivy

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 - 2024 Weber Informatics LLC | Privacy Policy