Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2025-01-11 23:51:22 +01:00
Fix player list header/footer not sending translated version (#1186)
Dieser Commit ist enthalten in:
Ursprung
08c03aaea2
Commit
dab64ebb59
@ -418,7 +418,8 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player,
|
||||
this.playerListHeader = translatedHeader;
|
||||
this.playerListFooter = translatedFooter;
|
||||
if (this.getProtocolVersion().compareTo(ProtocolVersion.MINECRAFT_1_8) >= 0) {
|
||||
this.connection.write(HeaderAndFooter.create(header, footer, this.getProtocolVersion()));
|
||||
this.connection.write(HeaderAndFooter.create(
|
||||
translatedHeader, translatedFooter, this.getProtocolVersion()));
|
||||
}
|
||||
}
|
||||
|
||||
@ -1290,4 +1291,4 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player,
|
||||
connectWithIndication();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren