From 6599dd026aae9bf81900766b553c21f801758298 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Mon, 15 Jun 2026 09:24:46 +0200 Subject: [PATCH] Update CustomMap --- LobbySystem/src/de/steamwar/lobby/map/CustomMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LobbySystem/src/de/steamwar/lobby/map/CustomMap.java b/LobbySystem/src/de/steamwar/lobby/map/CustomMap.java index 73b37e75..aaa0ca63 100644 --- a/LobbySystem/src/de/steamwar/lobby/map/CustomMap.java +++ b/LobbySystem/src/de/steamwar/lobby/map/CustomMap.java @@ -90,7 +90,7 @@ public class CustomMap implements Listener { } }, 200L, 1200L); } else { - AtomicReference lastModified = new AtomicReference<>(); + AtomicReference lastModified = new AtomicReference<>(Long.MAX_VALUE); Bukkit.getScheduler().runTaskTimer(LobbySystem.getInstance(), () -> { long modified = mapFileOrDirectory.lastModified(); if (modified > lastModified.get() || update) {