Closed DerEchtePilz closed 2 months ago
9.4.0-SNAPSHOT
1.20.4
Yes
I encountered this bug while testing the fix for #536 . I have my CommandAPIBukkitConfig set up as follows:
CommandAPIBukkitConfig
CommandAPI.onLoad(new CommandAPIBukkitConfig(this) .missingExecutorImplementationMessage("You cannot execute this command!") .dispatcherFile(new File(getDataFolder(), "command_registration.json")) .usePluginNamespace() );
I then registered this command:
commandAPICommand("test") { multiLiteralArgument(nodeName = "type", "java", "bedrock") stringArgument("additional") playerExecutor { player, args -> val type: String by args player.sendMessage(Component.text().content(type)) } }
I believe this screenshot shows it best:
The help menus should be identical.
No response
This issue most likely isn't applicable to the latest snapshot version only. I believe it definitely happened before too.
Fixed in version 9.4.0.
CommandAPI version
9.4.0-SNAPSHOT
Minecraft version
1.20.4
Are you shading the CommandAPI?
Yes
What I did
I encountered this bug while testing the fix for #536 . I have my
CommandAPIBukkitConfig
set up as follows:I then registered this command:
What actually happened
I believe this screenshot shows it best:![image](https://github.com/JorelAli/CommandAPI/assets/81232921/3395adcf-860e-4525-9e22-5497927b3c7f)
What should have happened
The help menus should be identical.
Server logs and CommandAPI config
No response
Other
This issue most likely isn't applicable to the latest snapshot version only. I believe it definitely happened before too.