From 3ccc008b556d75987643d6172a6a1b273ed1e547 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 25 May 2020 16:15:00 +0200 Subject: [PATCH] refactor: remove unused code --- .../de/cliffbreak/varo/managers/GameTimeManager.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/varo/src/main/java/de/cliffbreak/varo/managers/GameTimeManager.java b/varo/src/main/java/de/cliffbreak/varo/managers/GameTimeManager.java index d575fc5..2f23dbd 100644 --- a/varo/src/main/java/de/cliffbreak/varo/managers/GameTimeManager.java +++ b/varo/src/main/java/de/cliffbreak/varo/managers/GameTimeManager.java @@ -100,17 +100,8 @@ public class GameTimeManager { private void startPlayTimeTimer() { new BukkitRunnable() { - boolean playersTeleported = false; - @Override public void run() { - if (isLoginTimeOver()) { - if (!this.playersTeleported) { - this.playersTeleported = true; - System.out.println("TODO: Teleport Players!"); - // plugin.getTeamManager(). - } - } if (isPlayTimeOver()) { for (final Player p : Bukkit.getOnlinePlayers()) { p.kickPlayer("Spielzeit abgelaufen");