diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/util/EnchantmentUtils.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/util/EnchantmentUtils.java index 6d1e8912..cee6e3cf 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/util/EnchantmentUtils.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/util/EnchantmentUtils.java @@ -38,7 +38,7 @@ public class EnchantmentUtils { public static boolean isFullyChargeIfRequired(@NotNull final EcoEnchant enchantment, @NotNull final LivingEntity entity) { if (entity instanceof Player) { - if (PlayerUtils.getAttackCooldown((Player) enchantment) != 1.0f) { + if (PlayerUtils.getAttackCooldown((Player) entity) != 1.0f) { return enchantment.getConfig().getBool(EcoEnchants.CONFIG_LOCATION + "allow-not-fully-charged"); } } diff --git a/settings.gradle b/settings.gradle index f032784c..c7edc6e6 100644 --- a/settings.gradle +++ b/settings.gradle @@ -17,7 +17,7 @@ include ':eco-extensions:biomes' include ':eco-extensions:effects' include ':eco-extensions:endershot' include ':eco-extensions:firewand' -include ':eco-extensions:mmo' +//include ':eco-extensions:mmo' include ':eco-extensions:precision' include ':eco-extensions:rainbow' include ':eco-extensions:sprint-artifacts'