Archiviert
1
0

Hotfix some player connection issues for title sending

Dieser Commit ist enthalten in:
yoyosource 2023-05-13 09:02:20 +02:00
Ursprung 9e6c6ace27
Commit 6c540c3bac

Datei anzeigen

@ -159,6 +159,8 @@ public class FightEndsHandler extends PacketHandler {
}
private void send(ProxiedPlayer player, String text, BaseComponent[] eloGainComponent) {
if (player == null) return;
if (!player.isConnected()) return;
Title title = new BungeeTitle().title(TextComponent.fromLegacyText(text))
.subTitle(eloGainComponent)
.fadeIn(5)