From 48cefd4b01fc12848e84b27f06c677b21e584f45 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 24 May 2020 21:04:27 +0200 Subject: [PATCH] refactor: use final --- .../main/java/de/cliffbreak/varo/managers/GameTimeManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1f73e99..9348e77 100644 --- a/varo/src/main/java/de/cliffbreak/varo/managers/GameTimeManager.java +++ b/varo/src/main/java/de/cliffbreak/varo/managers/GameTimeManager.java @@ -107,7 +107,7 @@ public class GameTimeManager { } } if (isPlayTimeOver()) { - for (Player p : Bukkit.getOnlinePlayers()) { + for (final Player p : Bukkit.getOnlinePlayers()) { p.kickPlayer("Spielzeit abgelaufen"); } this.cancel();