reworked parsing

This commit is contained in:
kento2 2026-07-06 22:08:48 +02:00
parent 8897579a12
commit ac6a95232e
22 changed files with 360 additions and 441 deletions

View file

@ -3,7 +3,7 @@ package de.kentoj.kencommandapi;
import com.velocitypowered.api.command.CommandSource;
import com.velocitypowered.api.command.SimpleCommand;
import de.kentoj.kencommandapi.api.CommandHandler;
import de.kentoj.kencommandapi.api.node.RootCommandNode;
import de.kentoj.kencommandapi.api.literal.RootLiteral;
import lombok.RequiredArgsConstructor;
import java.util.List;
@ -12,7 +12,7 @@ import java.util.List;
public class VelocityCommand implements SimpleCommand {
private final CommandHandler<CommandSource> commandHandler;
private final RootCommandNode<CommandSource> rootNode;
private final RootLiteral<CommandSource> rootNode;
@Override
public void execute(Invocation invocation) {