Fix copy-paste error

This commit is contained in:
Andrew Steinborn 2021-10-15 08:30:11 -04:00
parent 3f647e4eb2
commit d5047b6665

View File

@ -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) {