mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-26 15:45:12 +01:00
Fixed very mild case of stupidity
This commit is contained in:
parent
8c78c8f756
commit
f4d03cbb50
@ -1,6 +1,7 @@
|
|||||||
package com.willfp.ecoenchants.enchantments.custom;
|
package com.willfp.ecoenchants.enchantments.custom;
|
||||||
|
|
||||||
import com.willfp.eco.core.config.interfaces.Config;
|
import com.willfp.eco.core.config.interfaces.Config;
|
||||||
|
import com.willfp.eco.core.config.updating.ConfigUpdater;
|
||||||
import com.willfp.ecoenchants.EcoEnchantsPlugin;
|
import com.willfp.ecoenchants.EcoEnchantsPlugin;
|
||||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||||
@ -23,6 +24,7 @@ public class CustomEcoEnchants {
|
|||||||
*
|
*
|
||||||
* @param plugin Instance of EcoEnchants.
|
* @param plugin Instance of EcoEnchants.
|
||||||
*/
|
*/
|
||||||
|
@ConfigUpdater
|
||||||
public static void update(@NotNull final EcoEnchantsPlugin plugin) {
|
public static void update(@NotNull final EcoEnchantsPlugin plugin) {
|
||||||
for (EcoEnchant enchant : VALUES) {
|
for (EcoEnchant enchant : VALUES) {
|
||||||
EcoEnchants.removeEcoEnchant(enchant);
|
EcoEnchants.removeEcoEnchant(enchant);
|
||||||
|
Loading…
Reference in New Issue
Block a user