ProtocolLib

3M Downloads

Multiline chat messages are scrambled in legacy server versions

bedwarshurts opened this issue · 2 comments

commented
  • This issue is not solved in a development build

Describe the bug
In legacy server versions (I tested on paperspigot 1.8.8) if you have protocollib and a plugin that hooks to it (tested with 2 different plugins) commands that output multiline chat messages result in the lines being scrambled

To Reproduce
Steps to reproduce the behavior:

  1. Use legacy server versions
  2. Install protocollib
  3. Install a plugin that depends on it (not all plugins result in this bug im not sure what exactly causes it, I tested with itsmyconfig and interactions)
  4. Use a command that outputs multiple lines
  5. Observe

Expected behavior
The lines get printed in order

Observed behavior
The lines get printed in random (scrambled) order

Screenshots
Here I am using the itsmyconfig plugin to showcase the issue. HOWEVER this bug happens with other plugins installed that hook to protocllib, I also tested with the "interactions" plugin.

Version Info
https://pastebin.com/6nV2PZb6

Additional context
No more context

commented

That paper jar is from july 2015, why not use an old version of protocollib from 2015?
Could be beneficial for protocollib to drop support for these old versions to prevent breakage 🤔

commented

That paper jar is from july 2015, why not use an old version of protocollib from 2015? Could be beneficial for protocollib to drop support for these old versions to prevent breakage 🤔

I use a fork thats still being supported. Despite that, I will agree with you that using such a legacy version is not optimal. I just have a UHC server and my players want legacy world generation which I havent found a way to achieve in newer server jars.

I fully understand if the protocollib team doesnt wanna work on this. However since 1.8 is advertised as still being supported I thought reporting it was worth a shot.