mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-25 00:51:20 +01:00
PR Changes
This commit is contained in:
parent
f8191653a6
commit
30ce54e53f
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user