From 8c3446970575998b13be6394ceb69403b57ed7bb Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 4 Mar 2022 17:13:47 +0100 Subject: [PATCH] Add debug messages Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/listener/LeaveableArena.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/listener/LeaveableArena.java b/FightSystem_Core/src/de/steamwar/fightsystem/listener/LeaveableArena.java index 52c1772..0262f29 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/listener/LeaveableArena.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/listener/LeaveableArena.java @@ -77,11 +77,13 @@ public class LeaveableArena implements Listener { markInArena(player); } else if(!inArena && spectator) { player.setGameMode(spectatorsInArena.remove(player)); + System.out.println("Mark out arena: " + player.getName()); } } private void markInArena(Player player) { spectatorsInArena.put(player, player.getGameMode()); Fight.setPlayerGamemode(player, GameMode.SPECTATOR); + System.out.println("Mark in arena: " + player.getName()); } }