diff --git a/src/de/steamwar/bungeecore/network/handlers/FightEndsHandler.java b/src/de/steamwar/bungeecore/network/handlers/FightEndsHandler.java index 9db43bae..7e44bcd5 100644 --- a/src/de/steamwar/bungeecore/network/handlers/FightEndsHandler.java +++ b/src/de/steamwar/bungeecore/network/handlers/FightEndsHandler.java @@ -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)