diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/custom/CustomEcoEnchant.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/custom/CustomEcoEnchant.java index 37401823..8d8c0d1c 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/custom/CustomEcoEnchant.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/custom/CustomEcoEnchant.java @@ -29,7 +29,7 @@ public class CustomEcoEnchant extends EcoEnchant { */ public CustomEcoEnchant(@NotNull final Config config) { super( - config.getString("id"), EnchantmentType.getByName(config.getString("type")) + config.getString("id"), EnchantmentType.getByName(config.getString("type").toUpperCase()) ); this.config = config;