mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-04-12 16:50:31 +08:00
Fix repeat
This commit is contained in:
parent
8fd026e025
commit
91265b12a3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user