From cdd380ec7418a2851d6ba663aefb02adedd34e3d Mon Sep 17 00:00:00 2001 From: EinfacheSache Date: Sat, 12 Aug 2023 18:10:13 +0200 Subject: [PATCH] Changes -> Change github update interval --- .../de/cubeattack/neoprotect/core/request/RestAPIRequests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/cubeattack/neoprotect/core/request/RestAPIRequests.java b/src/main/java/de/cubeattack/neoprotect/core/request/RestAPIRequests.java index c124aa0..716b351 100644 --- a/src/main/java/de/cubeattack/neoprotect/core/request/RestAPIRequests.java +++ b/src/main/java/de/cubeattack/neoprotect/core/request/RestAPIRequests.java @@ -262,7 +262,7 @@ private void versionCheckSchedule() { public void run() { core.setVersionResult(VersionUtils.checkVersion("NeoProtect", "NeoPlugin", "v" + core.getPlugin().getVersion(), Config.getAutoUpdaterSettings())); } - }, 1000 * 10, 1000 * 60 * (5 / 2)); + }, 1000 * 10, 1000 * 60 * 5); } private void attackCheckSchedule() {