From b2855856081b6a5f0f84d25c7d72ea433d830c62 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 14 Jun 2022 09:09:59 +0200 Subject: [PATCH] Fix packet direction Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/network/NetworkSender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/network/NetworkSender.java b/src/de/steamwar/bungeecore/network/NetworkSender.java index d683f4a..c7109a5 100644 --- a/src/de/steamwar/bungeecore/network/NetworkSender.java +++ b/src/de/steamwar/bungeecore/network/NetworkSender.java @@ -28,7 +28,7 @@ public class NetworkSender { @SneakyThrows public static void send(ProxiedPlayer player, NetworkPacket packet) { - player.sendData("sw:bridge", packet.serialize()); + player.getServer().sendData("sw:bridge", packet.serialize()); } public static void send(ServerInfo serverInfo, NetworkPacket packet) {