[MCPE-16805] Usernames with spaces can't go in commands Created: 31/Aug/16  Updated: 31/Aug/16  Resolved: 31/Aug/16

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 0.15.90.0
Fix Version/s: None

Type: Bug
Reporter: hippo_o_matic
Resolution: Works As Intended Votes: 0
Labels: None

Attachments: PNG File tmp_9651-Screenshot_2016-08-31-08-39-17640131061.png    
Confirmation Status: Unconfirmed
Platform: Phone - Android - HTC Desire

 Description   

New XBL gamertags allow spaces in usernames. However, when trying to use commands (ex: /give hippo o matic gold 1) it thinks the username is part of the item and dosen't recognise the rest. Mabye forcing underscores where spaces are when using XBL?



 Comments   
Comment by rplatham [ 31/Aug/16 ]

Perfect. Command syntax parser is working as intended. Strings with spaces must be placed in quotes to be parsed as a single variable.

Comment by hippo_o_matic [ 31/Aug/16 ]

Yup, just tested it and it works. I didn't think of it, I was expecting syntax like Pc.

Comment by rplatham [ 31/Aug/16 ]

have you tried /give "hippo o matic" gold 1 to see if that works? I'd test, but another bug is preventing me from changing my playername to something with spaces...

Generated at Sat Jan 11 15:12:59 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.