Rikmulds Core Mod

Rikmulds Core Mod

1M Downloads

Don't open GUI from the main thread.

Aaron1011 opened this issue ยท 4 comments

commented

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.

commented

Ah, I didn't know, thanks for noting, this should be fine then?

You have a new issue.

commented

Ah, I didn't know, thanks for noting, this should be fine then?

commented

Looks good to me!

commented

Confirmed working. Thank you so very much, Minecraft would not be the same without camping