mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-17 04:41:21 +01:00
Fixed enchant configs not being updated on /ecoreload
This commit is contained in:
parent
b2ae4d61d5
commit
445cc9e7e7
@ -170,6 +170,7 @@ public abstract class EcoEnchant extends Enchantment implements Listener, Watche
|
||||
* This can be overridden but may lead to unexpected behavior.
|
||||
*/
|
||||
public void update() {
|
||||
config.update();
|
||||
config.loadFromLang();
|
||||
rarity = config.getRarity();
|
||||
Validate.notNull(rarity, "Rarity specified in " + this.permissionName + " is invalid!");
|
||||
|
Loading…
Reference in New Issue
Block a user