diff --git a/velocity/src/main/java/me.confuser.banmanager.velocity/BMVelocityPlugin.java b/velocity/src/main/java/me.confuser.banmanager.velocity/BMVelocityPlugin.java index f643286f..2f73daa4 100644 --- a/velocity/src/main/java/me.confuser.banmanager.velocity/BMVelocityPlugin.java +++ b/velocity/src/main/java/me.confuser.banmanager.velocity/BMVelocityPlugin.java @@ -250,7 +250,7 @@ public void setupRunnables() { private void setupAsyncRunnable(long length, Runnable runnable) { if (length <= 0) return; - server.getScheduler().buildTask(this, runnable).delay(length, TimeUnit.SECONDS).schedule(); + server.getScheduler().buildTask(this, runnable).repeat(length, TimeUnit.SECONDS).schedule(); } @SneakyThrows private InputStream getResourceAsStream(String resource) {