-
-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
bugSomething isn't workingSomething isn't workingimplemented for next releaseThis has been implemented in the current dev build for the next public releaseThis has been implemented in the current dev build for the next public release
Description
CommandAPI version
9.5.1
Minecraft version
1.20
Are you shading the CommandAPI?
No
What I did
CommandAPICommand("shquests")
.withSubcommand(
CommandAPICommand("path")
.withArguments(
EnumArgument("path", Path::class.java)
)
.executes(CommandExecutor { sender, args ->
val player = sender as Player
player.choosePath(theme, progressor, registry, args.getTyped("path"))
}, ExecutorType.PLAYER)
).register();
// Sometime during runtime
Bukkit.dispatchCommand(me, 'shquests path TEST');
What actually happened

What should have happened
The command should have executed like it does when executed manually from a player (without dispatchCommand
).
Server logs and CommandAPI config
No response
Other
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingimplemented for next releaseThis has been implemented in the current dev build for the next public releaseThis has been implemented in the current dev build for the next public release