packetevents
packetevents copied to clipboard
Add a way to get the current RemoteChatSession
Is your feature request related to a problem? Please describe.
When sending a new WrapperPlayServerPlayerInfoUpdate, the Entry it requires has a RemoteChatSession field. There's currently no way of getting an instance of the player current chat session without intercepting a Packet first, which I would not like to have to do.
Describe the solution you'd like
A simple getter method to get via the User class, the RemoteChatSession of the player.
Describe alternatives you've considered to solve your solution without us adding this as a feature? As I said, I could intercept a packet containing the session but this is tedious.
Additional context None
+1