mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-29 16:15:17 +01:00
Fixed load-order bug
This commit is contained in:
parent
352e2ab43c
commit
ef0379900f
@ -208,7 +208,7 @@ public abstract class EcoEnchant extends Enchantment implements Listener, Watche
|
|||||||
maxLevel = config.getInt(EcoEnchants.GENERAL_LOCATION + "maximum-level", 1);
|
maxLevel = config.getInt(EcoEnchants.GENERAL_LOCATION + "maximum-level", 1);
|
||||||
displayName = config.getString("name");
|
displayName = config.getString("name");
|
||||||
description = config.getString("description", false);
|
description = config.getString("description", false);
|
||||||
description = description.replace("&r", this.getPlugin().getDisplayModule().getOptions().getDescriptionOptions().getColor() + "&r");
|
description = description.replace("&r", this.getPlugin().getLangYml().getString("description-color") + "&r");
|
||||||
description = StringUtils.format(description);
|
description = StringUtils.format(description);
|
||||||
disabledWorldNames.clear();
|
disabledWorldNames.clear();
|
||||||
disabledWorldNames.addAll(config.getStrings(EcoEnchants.GENERAL_LOCATION + "disabled-in-worlds"));
|
disabledWorldNames.addAll(config.getStrings(EcoEnchants.GENERAL_LOCATION + "disabled-in-worlds"));
|
||||||
|
Loading…
Reference in New Issue
Block a user