mirror of
https://github.com/YouHaveTrouble/BlockEdit.git
synced 2026-06-29 21:46:19 +00:00
fix replace command argument order
This commit is contained in:
@@ -333,7 +333,6 @@ public class BlockEditCommands {
|
|||||||
})
|
})
|
||||||
.then(
|
.then(
|
||||||
Commands.argument("to_replace", ArgumentTypes.blockState())
|
Commands.argument("to_replace", ArgumentTypes.blockState())
|
||||||
)
|
|
||||||
.then(
|
.then(
|
||||||
Commands.argument("replace_with", ArgumentTypes.blockState())
|
Commands.argument("replace_with", ArgumentTypes.blockState())
|
||||||
.executes(ctx -> {
|
.executes(ctx -> {
|
||||||
@@ -369,6 +368,8 @@ public class BlockEditCommands {
|
|||||||
})
|
})
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
)
|
||||||
|
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user