From f4d03cbb5003317ba868dc80447740fdbf438595 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Fri, 28 Jan 2022 19:21:24 +0000 Subject: [PATCH] Fixed very mild case of stupidity --- .../ecoenchants/enchantments/custom/CustomEcoEnchants.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/custom/CustomEcoEnchants.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/custom/CustomEcoEnchants.java index ebfb2f58..cc62b406 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/custom/CustomEcoEnchants.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/custom/CustomEcoEnchants.java @@ -1,6 +1,7 @@ package com.willfp.ecoenchants.enchantments.custom; import com.willfp.eco.core.config.interfaces.Config; +import com.willfp.eco.core.config.updating.ConfigUpdater; import com.willfp.ecoenchants.EcoEnchantsPlugin; import com.willfp.ecoenchants.enchantments.EcoEnchant; import com.willfp.ecoenchants.enchantments.EcoEnchants; @@ -23,6 +24,7 @@ public class CustomEcoEnchants { * * @param plugin Instance of EcoEnchants. */ + @ConfigUpdater public static void update(@NotNull final EcoEnchantsPlugin plugin) { for (EcoEnchant enchant : VALUES) { EcoEnchants.removeEcoEnchant(enchant);