3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-24 23:30:26 +01:00

Fix copy-paste error

Dieser Commit ist enthalten in:
Andrew Steinborn 2021-10-15 08:30:11 -04:00
Ursprung 3f647e4eb2
Commit d5047b6665

Datei anzeigen

@ -414,7 +414,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
connection.write(titlePkt);
} else if (part == TitlePart.SUBTITLE) {
GenericTitlePacket titlePkt = GenericTitlePacket.constructTitlePacket(
GenericTitlePacket.ActionType.SET_TITLE, this.getProtocolVersion());
GenericTitlePacket.ActionType.SET_SUBTITLE, this.getProtocolVersion());
titlePkt.setComponent(serializer.serialize(translateMessage((Component) value)));
connection.write(titlePkt);
} else if (part == TitlePart.TIMES) {