fix: also make .username set
greedy since we have .username empty
now
This commit is contained in:
parent
8662ee448a
commit
1193bd0bb4
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public class UsernameCommand {
|
|||
public static void register(CommandDispatcher<FabricClientCommandSource> dispatcher) {
|
||||
dispatcher.register(literal("username")
|
||||
.then(literal("set")
|
||||
.then(argument("username", string())
|
||||
.then(argument("username", greedyString())
|
||||
.executes(c -> changeOffline(c, getString(c, "username")))))
|
||||
.then(literal("revert")
|
||||
.executes(c -> changeSession(c, ORIGINAL_SESSION)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue