diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/util/ItemConversionOptions.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/util/ItemConversionOptions.java index cfa99328..1019fe6e 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/util/ItemConversionOptions.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/util/ItemConversionOptions.java @@ -78,7 +78,7 @@ public class ItemConversionOptions { usingLevelClampDelete = plugin.getConfigYml().getBool("advanced.level-clamp.delete-item"); removingIllegal = plugin.getConfigYml().getBool("advanced.remove-illegal.enabled"); deletingIllegal = plugin.getConfigYml().getBool("advanced.remove-illegal.delete-item"); - removeDisabled = plugin.getConfigYml().getBool("advanced.remove-invalid.enabled"); + removeDisabled = plugin.getConfigYml().getBool("advanced.remove-disabled.enabled"); } static { diff --git a/eco-core/core-plugin/src/main/resources/config.yml b/eco-core/core-plugin/src/main/resources/config.yml index bde80d7d..3ad6d65d 100644 --- a/eco-core/core-plugin/src/main/resources/config.yml +++ b/eco-core/core-plugin/src/main/resources/config.yml @@ -154,7 +154,7 @@ advanced: enabled: false # If the item should be deleted rather than have the enchantment removed. delete-item: false - remove-invalid: + remove-disabled: # Remove invalid / disabled enchantments from items server-side # Useful if you're disabling enchantments permanently and don't mind removing them from existing players # Also helps remove deleted enchantments or enchantments from old plugins