Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Fix TabList header/footer gives (By non-json Strings) MalformedJsonException
Dieser Commit ist enthalten in:
Ursprung
8e0833ca6b
Commit
dac9bd58e5
@ -106,6 +106,13 @@ public class OutgoingTransformer {
|
|||||||
output.writeBytes(input);
|
output.writeBytes(input);
|
||||||
return;
|
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) {
|
if (packet == PacketType.PLAY_ENTITY_TELEPORT) {
|
||||||
// Port this so that it relative moves :P
|
// Port this so that it relative moves :P
|
||||||
int id = PacketUtil.readVarInt(input);
|
int id = PacketUtil.readVarInt(input);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren