📜  spigot 调度程序 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:48.832000             🧑  作者: Mango

代码示例3
Bukkit.getScheduler().scheduleSyncRepeatingTask(instance, new Runnable() {
  @Override
  public void run() {
    //Your Code Here
  }
}, 0L, 20L);