Correct runRepeatingSync order

This commit is contained in:
Matsv 2018-01-19 11:05:16 +01:00
parent 5a74e129a4
commit 721297bf21

View File

@ -181,7 +181,7 @@ public class ViaVersionPlugin extends JavaPlugin implements ViaPlatform {
@Override
public TaskId runRepeatingSync(Runnable runnable, Long ticks) {
return new BukkitTaskId(getServer().getScheduler().runTaskTimer(this, runnable, ticks, 0).getTaskId());
return new BukkitTaskId(getServer().getScheduler().runTaskTimer(this, runnable, 0, ticks).getTaskId());
}
@Override