diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoEnchant.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoEnchant.java index 8c6ae550..2ff1bef9 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoEnchant.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoEnchant.java @@ -161,7 +161,7 @@ public abstract class EcoEnchant extends Enchantment implements Listener, Watche this.type = type; this.permissionName = key.replace("_", ""); - this.config = new EnchantmentConfig(this.permissionName, this.getClass(), this.type); + this.config = new EnchantmentConfig(this.permissionName, this.getClass(), this); if (Bukkit.getPluginManager().getPermission("ecoenchants.fromtable." + permissionName) == null) { Permission permission = new Permission(