Skip to content

Default arguments in CommandContext#119

Open
bigfoot547 wants to merge 1 commit intoMojang:masterfrom
bigfoot547:optional-arguments
Open

Default arguments in CommandContext#119
bigfoot547 wants to merge 1 commit intoMojang:masterfrom
bigfoot547:optional-arguments

Conversation

@bigfoot547
Copy link
Copy Markdown

@bigfoot547 bigfoot547 commented Nov 9, 2022

This PR adds several methods to CommandContext to allow for testing the existence of arguments, as well as specifying default values for getArguments. Associated tests are also included.

This PR was intended to solve #110

@LoboMetalurgico
Copy link
Copy Markdown

Mojang, pls, accept this pull request

@bigfoot547
Copy link
Copy Markdown
Author

almost 1 year anniversary of this PR... man time flies

@M4ximumPizza
Copy link
Copy Markdown

Indeed it does, it might get merged. However if it does not they I am surprised they dont close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants