Open
Description
Describe the bug
Using the view inv command on offline player inventories doesn't do anything expect print the "An unexpected error" message in chat.
It used to crash the server too on 1.4.5 but now on 1.4.6 just prints that error with the message in console (Additional Context)
To Reproduce
Steps to reproduce the behavior:
- Attempt to /view an offline player's inventory
Expected behavior
Open a GUI with the offline player's inventory
**Device Info(please complete the following information): Linux server and Linux Desktop
- OS: Linux (Pop OS 21.04)
- Minecraft Version 1.17.1
- Version 1.4.6
Additional context
13.08 02:40:39 [Server] Server thread/INFO Error while reading data: player roles were not initialized
13.08 02:40:39 [Server] Server thread/ Can't keep up! Is the server overloaded? Running 2249ms or 44 ticks behind