If you add an "L" behind the ammount of XP, it will cause an error instead of adding ammout of level to the player.
Steps to reproduce:
Create / open a new world with cheats ON.
Run the following command: /xp 10L @s
Expected Results:
The command should gives yourself 10 levels.
Observed Results:
The command isn't giving any level or experience to yourself, and an eror is given instead.
Thank you for your report!
We're tracking this issue in MCPE-79470, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki