Makes edit commands display the default value if no value is provided

This commit is contained in:
2024-05-07 13:54:45 +02:00
parent cb477cafb5
commit 75744ccdd0
4 changed files with 71 additions and 28 deletions

View File

@ -8,6 +8,8 @@ en:
VALUE_FOR_ITEM_CHANGED: "&7{setting} for {itemType} {item} set to &6{newValue}"
# The format used to display the current value of a setting
CURRENT_VALUE: "&7Current value of {setting}:&r {currentValue}"
# The format used to display the default value of a setting
DEFAULT_VALUE: "&7Default value of {setting}:&r {defaultValue}"
# The format used to display the current value of a setting for a specific material or enchantment
CURRENT_VALUE_FOR_ITEM: "&7Current value of {setting} for {itemType} {item}:&r {currentValue}"
# Translation of the enchantment item type (used for VALUE_FOR_ITEM_CHANGED, CURRENT_VALUE_FOR_ITEM)