Skip to content

Commit

Permalink
Change order of /blueprint arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Mar 22, 2024
1 parent dec070e commit 3cc70d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ brawls_sgui_version=1.0.0
sgui_version=1.4.2+1.20.4

# Mod Properties
mod_version=1.0.0
mod_version=1.0.1
maven_group=net.mcbrawls
mod_id=blueprint
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ object BlueprintCommand {
.then(
literal("save")
.then(
argument(BLUEPRINT_KEY, IdentifierArgumentType.identifier())
.suggests { _, suggestions -> BlueprintManager.suggestBlueprints(suggestions) }
argument(START_POSITION_KEY, BlockPosArgumentType.blockPos())
.then(
argument(START_POSITION_KEY, BlockPosArgumentType.blockPos())
argument(END_POSITION_KEY, BlockPosArgumentType.blockPos())
.then(
argument(END_POSITION_KEY, BlockPosArgumentType.blockPos())
argument(BLUEPRINT_KEY, IdentifierArgumentType.identifier())
.suggests { _, suggestions -> BlueprintManager.suggestBlueprints(suggestions) }
.executes(::executeSave)
)
)
Expand All @@ -69,10 +69,10 @@ object BlueprintCommand {
.then(
literal("place")
.then(
argument(BLUEPRINT_KEY, IdentifierArgumentType.identifier())
.suggests { _, suggestions -> BlueprintManager.suggestBlueprints(suggestions) }
argument(POSITION_KEY, BlockPosArgumentType.blockPos())
.then(
argument(POSITION_KEY, BlockPosArgumentType.blockPos())
argument(BLUEPRINT_KEY, IdentifierArgumentType.identifier())
.suggests { _, suggestions -> BlueprintManager.suggestBlueprints(suggestions) }
.executes(::executePlace)
)
)
Expand Down

0 comments on commit 3cc70d5

Please sign in to comment.