I'm sending some packets from the client to the server. When the server's IMessageHandler gets the packet, sometimes the MessageContext is in an incorrect state. Basically, MessageContext.getServerHandler().player is the wrong player sometimes. This was causing the wrong player to receive items in my mod.
I tested this by adding the client player's UUID to the packet and comparing it to the server's MessageContext.
I need to know if this is something wrong with my mod of if it's a bug with forge. It only happens when two or more clients are sending lots of packets at once.