diff --git a/src/main/java/com/github/yufiriamazenta/craftorithm/recipe/RecipeManager.java b/src/main/java/com/github/yufiriamazenta/craftorithm/recipe/RecipeManager.java index 4d36bc0c..ffde97dd 100644 --- a/src/main/java/com/github/yufiriamazenta/craftorithm/recipe/RecipeManager.java +++ b/src/main/java/com/github/yufiriamazenta/craftorithm/recipe/RecipeManager.java @@ -39,7 +39,7 @@ @AutoTask( rules = { - @TaskRule(lifeCycle = LifeCycle.ACTIVE, priority = 1), + @TaskRule(lifeCycle = LifeCycle.ENABLE), @TaskRule(lifeCycle = LifeCycle.RELOAD, priority = 2) } ) @@ -482,7 +482,7 @@ private void saveDefConfigFile(List allFiles) { @Override public void run(Plugin plugin, LifeCycle lifeCycle) { - if (lifeCycle.equals(LifeCycle.ACTIVE)) { + if (lifeCycle.equals(LifeCycle.ENABLE)) { //设置各类型配方的注册方法 recipeRegisterMap.put(RecipeType.SHAPED, Bukkit::addRecipe); recipeRemoverMap.put(RecipeType.SHAPED, this::removeRecipes);