diff --git a/src/main/java/com/github/yufiriamazenta/craftorithm/arcenciel/ArcencielDispatcher.java b/src/main/java/com/github/yufiriamazenta/craftorithm/arcenciel/ArcencielDispatcher.java index 83df4726..a4655db8 100644 --- a/src/main/java/com/github/yufiriamazenta/craftorithm/arcenciel/ArcencielDispatcher.java +++ b/src/main/java/com/github/yufiriamazenta/craftorithm/arcenciel/ArcencielDispatcher.java @@ -20,7 +20,7 @@ @AutoTask( rules = { - @TaskRule(lifeCycle = LifeCycle.ENABLE, priority = 1), + @TaskRule(lifeCycle = LifeCycle.ACTIVE, priority = 1), @TaskRule(lifeCycle = LifeCycle.RELOAD) } ) @@ -87,7 +87,7 @@ public List getFunc(String funcName) { @Override public void run(Plugin plugin, LifeCycle lifeCycle) { switch (lifeCycle) { - case ENABLE -> { + case ACTIVE -> { functionFile = new BukkitConfigWrapper(Craftorithm.instance(), "function.yml"); functionFile.reloadConfig(); regDefScriptKeyword();