Skip to content

Rename BoolArgument to BooleanArgumentType - #165

Open
justlofe wants to merge 1 commit into
Mojang:masterfrom
justlofe:rename-bool-argument
Open

Rename BoolArgument to BooleanArgumentType#165
justlofe wants to merge 1 commit into
Mojang:masterfrom
justlofe:rename-bool-argument

Conversation

@justlofe

Copy link
Copy Markdown

I don't understand why all arguments use fully primitive type names, but booleans don't. This PR deprecates the BoolArgumentType type and creates a BooleanArgumentType type, which is an exact copy of BoolArgumentType except for the name and the creation method, which has also been renamed (to "booleanArg").

The test for a boolean argument has been rewritten to use BooleanArgumentType.

…write BoolArgumentTypeTest to use BooleanArgumentType.
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.

2 participants