Renamed remove-invalid to remove-disabled

This commit is contained in:
Auxilor 2021-07-28 23:32:34 +01:00
parent 6dddbfc91b
commit 699ecfa290
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ public class ItemConversionOptions {
usingLevelClampDelete = plugin.getConfigYml().getBool("advanced.level-clamp.delete-item"); usingLevelClampDelete = plugin.getConfigYml().getBool("advanced.level-clamp.delete-item");
removingIllegal = plugin.getConfigYml().getBool("advanced.remove-illegal.enabled"); removingIllegal = plugin.getConfigYml().getBool("advanced.remove-illegal.enabled");
deletingIllegal = plugin.getConfigYml().getBool("advanced.remove-illegal.delete-item"); 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 { static {

View File

@ -154,7 +154,7 @@ advanced:
enabled: false enabled: false
# If the item should be deleted rather than have the enchantment removed. # If the item should be deleted rather than have the enchantment removed.
delete-item: false delete-item: false
remove-invalid: remove-disabled:
# Remove invalid / disabled enchantments from items server-side # Remove invalid / disabled enchantments from items server-side
# Useful if you're disabling enchantments permanently and don't mind removing them from existing players # 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 # Also helps remove deleted enchantments or enchantments from old plugins