
Don't open GUI from the main thread.
Aaron1011 opened this issue ยท 4 comments
Currently, PacketOpenGui#handlePacket
directly opens a GUI. However, this method is run on a Netty thread, which means that any interaction with the game must be scheduled on the main thread via MinecraftServer#addScheduledTask
.
Ah, I didn't know, thanks for noting, this should be fine then?
You have a new issue.