mirror of
https://code.chipmunk.land/ChomeNS/chipmunkmod.git
synced 2025-11-13 21:06:16 +00:00
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
Reference in a new issue