PktElytraCapeState modifiers player off the main thread
Aaron1011 opened this issue ยท 0 comments
In PktElytraCapeState#onMessage
, the targeted EntityPlayer
is modified directly from the packet handler. However, all packet handlers are run on Netty threads. In order to keep the game working properly, any modifications to game object (like EntityPlayer
) should be done in the main thread, via MinecraftServer#addScheduledTask
.