📜  如何让插件等待 enabke - 无论代码示例

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

代码示例1
Bukkit.getScheduler().runTaskLater(main, new Runnable() {
    public void run() {
        System.out.println("Plugin has been enabled for 5 seconds!");
    }
}, 100L);