Fix BukkitLegacyMappings method map usage
Move obtaining legacy block to default clause
Task should be async
This commit is contained in:
dordsor21
2019-01-12 18:05:20 +00:00
parent 8ba661aa35
commit f62777bc1a
3 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ public abstract class TaskManager {
if (IMP == null) {
throw new IllegalArgumentException("disabled");
}
return IMP.taskRepeat(runnable, interval);
return IMP.taskRepeatAsync(runnable, interval);
}
return -1;
}