From 79eb2ae5a499ea40b96dbc5e31f829277841ee72 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 3 Aug 2024 14:25:18 +0200 Subject: [PATCH] Fix EventStarter Signed-off-by: Lixfel --- src/de/steamwar/velocitycore/EventStarter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/velocitycore/EventStarter.java b/src/de/steamwar/velocitycore/EventStarter.java index 1be170f..7e80204 100644 --- a/src/de/steamwar/velocitycore/EventStarter.java +++ b/src/de/steamwar/velocitycore/EventStarter.java @@ -43,7 +43,7 @@ public class EventStarter { public EventStarter() { EventFight.loadAllComingFights(); - VelocityCore.schedule(this::run).delay(10, TimeUnit.SECONDS).schedule(); + VelocityCore.schedule(this::run).repeat(10, TimeUnit.SECONDS).schedule(); } public static Map getEventServer() {