Open ghost opened 1 year ago
Yeah, upstream just decided to remove the custom handling and handle everything as unknown.
Yeah, upstream just decided to remove the custom handling and handle everything as unknown.
Damn, what can be done to fix this?
My current workarodund is player.getClientBrandName()
There is #9863 as a possible approach to solve this issue
oh yeah, isn't the entire on plugin message received thing broken?
Expected behavior
Client brand packets should contain their brand.
Observed/Actual behavior
After recently updating paper, it seems like somehow brand packets are deserialized wrongly to have unknown brand payloads instead of net.minecraft.network.protocol.common.custom.BrandPayload, the result is that the .data() is an empty string instead of the client brand.
Steps/models to reproduce
Listen for payload packets
Plugin and Datapack List
Protocollib (for listening to the packets), i am just calling .getHandle() to get the raw NMS packet though
Paper version
This server is running Paper version git-Paper-"1865625" (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: 1865625) You are 3 version(s) behind Download the new version at: https://papermc.io/downloads/paper Previous version: git-Paper-"4b0bc74" (MC: 1.20.2)
Other
No response