.
This commit is contained in:
parent
c8b7049f1d
commit
124e65a472
26 changed files with 123 additions and 116 deletions
|
|
@ -1,7 +1,6 @@
|
|||
package de.kentoj.kencommandapi;
|
||||
|
||||
import de.kentoj.kencommandapi.api.KenCommandApi;
|
||||
import de.kentoj.kencommandapi.api.processing.CommandContext;
|
||||
import de.kentoj.kencommandapi.api.structure.node.CommandNode;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
|
@ -9,10 +8,13 @@ import org.jetbrains.annotations.NotNull;
|
|||
|
||||
public class BukkitKenCommand extends Command {
|
||||
|
||||
private final CommandNode<CommandContext<CommandSender>> rootNode;
|
||||
private final KenCommandApi<CommandSender, CommandContext<CommandSender>> commandManager;
|
||||
private final CommandNode<CommandSender, BukkitCommandContext> rootNode;
|
||||
private final KenCommandApi<CommandSender, BukkitCommandContext> commandManager;
|
||||
|
||||
protected BukkitKenCommand(KenCommandApi<CommandSender, CommandContext<CommandSender>> commandManager, CommandNode<CommandContext<CommandSender>> rootNode) {
|
||||
protected BukkitKenCommand(
|
||||
KenCommandApi<CommandSender, BukkitCommandContext> commandManager,
|
||||
CommandNode<CommandSender, BukkitCommandContext> rootNode
|
||||
) {
|
||||
super(rootNode.getNames()[0]);
|
||||
this.rootNode = rootNode;
|
||||
this.commandManager = commandManager;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue