Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-25 15:50:10 +01:00
Merge pull request #32 from StamBoom/master
Fix TabList header/footer gives (By non-json Strings) MalformedJsonException
Dieser Commit ist enthalten in:
Commit
06296ead77
@ -106,6 +106,13 @@ public class OutgoingTransformer {
|
||||
output.writeBytes(input);
|
||||
return;
|
||||
}
|
||||
if (packet == PacketType.PLAY_PLAYER_LIST_HEADER_FOOTER) {
|
||||
String header = readString(input);
|
||||
String footer = readString(input);
|
||||
writeString(fixJson(header), output);
|
||||
writeString(fixJson(footer), output);
|
||||
return;
|
||||
}
|
||||
if (packet == PacketType.PLAY_ENTITY_TELEPORT) {
|
||||
// Port this so that it relative moves :P
|
||||
int id = PacketUtil.readVarInt(input);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren