From 6848bac4474d71ad8cc1740ad0036143daf3e229 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 12 May 2023 23:24:54 +0200 Subject: [PATCH] Update some more stuff --- .../steamwar/bungeecore/network/handlers/FightEndsHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/network/handlers/FightEndsHandler.java b/src/de/steamwar/bungeecore/network/handlers/FightEndsHandler.java index da5b4bd..0076e8d 100644 --- a/src/de/steamwar/bungeecore/network/handlers/FightEndsHandler.java +++ b/src/de/steamwar/bungeecore/network/handlers/FightEndsHandler.java @@ -35,6 +35,7 @@ import net.md_5.bungee.api.scheduler.TaskScheduler; import java.util.*; import java.util.concurrent.TimeUnit; +import java.util.logging.Level; import java.util.stream.Collectors; public class FightEndsHandler extends PacketHandler { @@ -52,7 +53,7 @@ public class FightEndsHandler extends PacketHandler { @Handler public void handle(FightEndsPacket fightEndsPacket) { - System.out.println(fightEndsPacket.getWin() + " " + fightEndsPacket.getBlueSchem() + " " + fightEndsPacket.getRedSchem() + " " + fightEndsPacket.getBluePlayers() + " " + fightEndsPacket.getRedPlayers() + " " + fightEndsPacket.getGameMode() + " " + fightEndsPacket.getDuration()); + BungeeCore.get().getLogger().log(Level.INFO, fightEndsPacket.getWin() + " " + fightEndsPacket.getBlueSchem() + " " + fightEndsPacket.getRedSchem() + " " + fightEndsPacket.getBluePlayers() + " " + fightEndsPacket.getRedPlayers() + " " + fightEndsPacket.getGameMode() + " " + fightEndsPacket.getDuration()); if (!ArenaMode.getBySchemType(SchematicType.fromDB(fightEndsPacket.getGameMode())).isRanked()) { return; }