PR Changes

This commit is contained in:
Auxilor 2022-01-28 19:37:46 +00:00
parent f8191653a6
commit 30ce54e53f
2 changed files with 0 additions and 2 deletions

View File

@ -89,7 +89,6 @@ public class EcoEnchantsPlugin extends LibReforgePlugin {
@Override @Override
public void handleEnableAdditional() { public void handleEnableAdditional() {
this.getLogger().info(EcoEnchants.values().size() + " Enchantments Loaded"); this.getLogger().info(EcoEnchants.values().size() + " Enchantments Loaded");
CustomEcoEnchants.update(this);
TelekinesisUtils.registerTest(player -> FastItemStack.wrap(player.getInventory().getItemInMainHand()).getLevelOnItem(EcoEnchants.TELEKINESIS, false) > 0); TelekinesisUtils.registerTest(player -> FastItemStack.wrap(player.getInventory().getItemInMainHand()).getLevelOnItem(EcoEnchants.TELEKINESIS, false) > 0);
} }

View File

@ -24,7 +24,6 @@ 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);