geforkt von SteamWar/BungeeCore
Hotfix some player connection issues for title sending
Dieser Commit ist enthalten in:
Ursprung
9e6c6ace27
Commit
6c540c3bac
@ -159,6 +159,8 @@ public class FightEndsHandler extends PacketHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void send(ProxiedPlayer player, String text, BaseComponent[] eloGainComponent) {
|
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))
|
Title title = new BungeeTitle().title(TextComponent.fromLegacyText(text))
|
||||||
.subTitle(eloGainComponent)
|
.subTitle(eloGainComponent)
|
||||||
.fadeIn(5)
|
.fadeIn(5)
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren