mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-7042: Subtitle is always equal to title
By: md_5 <git@md-5.net>
This commit is contained in:
parent
80188eac4e
commit
5913ce98b9
1 changed files with 1 additions and 1 deletions
|
@ -1759,7 +1759,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
}
|
||||
|
||||
if (subtitle != null) {
|
||||
ClientboundSetSubtitleTextPacket packetSubtitle = new ClientboundSetSubtitleTextPacket(CraftChatMessage.fromString(title)[0]);
|
||||
ClientboundSetSubtitleTextPacket packetSubtitle = new ClientboundSetSubtitleTextPacket(CraftChatMessage.fromString(subtitle)[0]);
|
||||
getHandle().connection.send(packetSubtitle);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue