From 91265b12a370ba9be1f9832a8586169ab480987d Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 23 Aug 2018 21:51:15 -0400 Subject: [PATCH] Fix repeat --- .../com/velocitypowered/proxy/scheduler/VelocityScheduler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java b/proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java index 5584e36c8..fdd577f34 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java @@ -151,7 +151,7 @@ public class VelocityScheduler implements Scheduler { if (repeat > 0) { try { - sleeper.sleep(delay); + sleeper.sleep(repeat); } catch (InterruptedException e) { if (status == TaskStatus.CANCELLED) { break;