mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-26 06:11:40 +01:00
Moved config section
This commit is contained in:
parent
28f32b8930
commit
cfd625eadd
@ -48,7 +48,7 @@ public class EnchantmentCache {
|
||||
);
|
||||
name = String.valueOf(ConfigManager.getLang().getString("enchantments." + enchantment.getKey().getKey().toLowerCase() + ".name"));
|
||||
type = enchantment.isCursed() ? EcoEnchant.EnchantmentType.CURSE : EcoEnchant.EnchantmentType.NORMAL;
|
||||
rarity = enchantment.isTreasure() ? EnchantmentRarity.getByName(ConfigManager.getConfig().getString("lore.vanilla-treasure-rarity")) : EnchantmentRarity.getByName(ConfigManager.getConfig().getString("lore.vanilla-rarity"));
|
||||
rarity = enchantment.isTreasure() ? EnchantmentRarity.getByName(ConfigManager.getConfig().getString("rarity.vanilla-treasure-rarity")) : EnchantmentRarity.getByName(ConfigManager.getConfig().getString("rarity.vanilla-rarity"));
|
||||
}
|
||||
|
||||
color = type.getColor();
|
||||
|
@ -45,8 +45,6 @@ lore:
|
||||
- legendary
|
||||
- special
|
||||
- veryspecial
|
||||
vanilla-rarity: uncommon # Vanilla enchantments do not have an EcoEnchants rarity - what rarity should they have?
|
||||
vanilla-treasure-rarity: legendary # Treasure enchantments do not appear in vanilla enchanting tables (Mending, Soul Speed, Frost Walker)
|
||||
|
||||
describe: # Describe enchantments in lore
|
||||
enabled: false
|
||||
@ -97,7 +95,6 @@ types:
|
||||
artifact:
|
||||
allow-multiple: false # Allow multiple artifacts on a single item (can cause lag!)
|
||||
|
||||
#
|
||||
# Enchantment-specific config has now been moved to their own files.
|
||||
# Check the /enchants directory.
|
||||
#
|
||||
rarity:
|
||||
vanilla-rarity: uncommon # Vanilla enchantments do not have an EcoEnchants rarity - what rarity should they have?
|
||||
vanilla-treasure-rarity: legendary # Treasure enchantments do not appear in vanilla enchanting tables (Mending, Soul Speed, Frost Walker)
|
||||
|
Loading…
Reference in New Issue
Block a user