mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-05 03:53:34 +00:00
[Core] Fix repeatAsync running task synchronously (#2232)
This commit is contained in:
parent
5eaea8a31b
commit
0b12a109ce
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ public abstract class TaskManager {
|
||||||
if (IMP == null) {
|
if (IMP == null) {
|
||||||
throw new IllegalArgumentException("disabled");
|
throw new IllegalArgumentException("disabled");
|
||||||
}
|
}
|
||||||
return IMP.taskRepeat(runnable, interval);
|
return IMP.taskRepeatAsync(runnable, interval);
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue