Fix team colors being erased if re-encoding WrapperPlayServerTeams on 1.8-1.12#1519
Fix team colors being erased if re-encoding WrapperPlayServerTeams on 1.8-1.12#1519LeonTG wants to merge 1 commit into
Conversation
|
The adventure-patch modules will be removed eventually because we will replace our adventure handling with a more robust solution - though I don't know if there is a another good way to fix this, other than writing our own legacy component serializer |
|
We could also just passthrough plain text instead of using legacy component serialization at all |
|
You mean store it as string instead of component? wont that mess with 1.13+? |
|
I meant using a String for versions the protocol uses legacy strings and using a Component for versions the protocol uses components |
I have this problem too, and it's exactly MiniMessage issue (all serializers). And btw, I also solved this problem, just like you, by adding a space and deleting it at the end |
|
MiniMessage adds a closing tag if there is no text after it, I think this is their usual behavior and they don't want to fix it |
Maybe you guys should do that then cuz ngl I'm not entirely sure how you'd want me to structure that change with setting up 2 variables and how the setters/getters would then work Depending on how long your solution will take tho, maybe this should be the solution in the meantime so this doesn't go unresolved for too long? |
|
Adding my two cents since I've had this problem too. This issue is caused by a bug in the legacy serializer (note that the other serializers do not have this behaviour, just the legacy one...) that could be fixed in Adventure upstream (PaperMC/adventure#1312). I think the best way other than getting that bug fixed (which is likely not happening) is a passthrough as suggested by booky10. |
no, I have this issue in default MiniMessage serializer, and it's not solved by updating |


Closes #1517