From 4f721595df173a68b93890180274e181139572e6 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Wed, 22 Jun 2022 22:33:17 +0200 Subject: [PATCH] AAAAAAAAAAAAAAAAAAAAAAAAA --- src/de/steamwar/lobby/LobbyPacketHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/lobby/LobbyPacketHandler.java b/src/de/steamwar/lobby/LobbyPacketHandler.java index 8edd985..0d7bbcc 100644 --- a/src/de/steamwar/lobby/LobbyPacketHandler.java +++ b/src/de/steamwar/lobby/LobbyPacketHandler.java @@ -36,7 +36,7 @@ public class LobbyPacketHandler extends PacketHandler { } @Handler - private void serverStarting(StartingServerPacket in) { - Objects.requireNonNull(Bukkit.getPlayer(SteamwarUser.get(in.getUser()).getUUID())).teleport(LobbySystem.config().getWaitingHallSpawn(), PlayerTeleportEvent.TeleportCause.PLUGIN); + public void serverStarting(StartingServerPacket packet) { + Objects.requireNonNull(Bukkit.getPlayer(SteamwarUser.get(packet.getUser()).getUUID())).teleport(LobbySystem.config().getWaitingHallSpawn(), PlayerTeleportEvent.TeleportCause.PLUGIN); } }