Put the summary of the bug you're having here
What I expected to happen was...:
Spectator Hotbar appears after pressing any keys from 1-0
What actually happened was...:
Instead when pressing keys 1-0 game crashed
Steps to Reproduce:
1. Enter singeplayer (didn't test multi) with bundle and 1.20 enabled
2. Enter spectator mode
3. Press any keys 1-0
Exact Error code:
The game crashed whilst unexpected error
Error: java.lang.NullPointerException: Cannot invoke "exp.a()" because "$$0" is null
Thank you for your report!
We're tracking this issue in MC-256502, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.
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:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki