Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 23:30:26 +01:00
Also guard sendTitlePart behind a protocol version check.
Dieser Commit ist enthalten in:
Ursprung
d5047b6665
Commit
41f66c7c04
@ -404,6 +404,10 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
|
||||
throw new NullPointerException("value");
|
||||
}
|
||||
|
||||
if (this.getProtocolVersion().compareTo(ProtocolVersion.MINECRAFT_1_8) < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
GsonComponentSerializer serializer = ProtocolUtils.getJsonChatSerializer(this
|
||||
.getProtocolVersion());
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren