Fixed casting the wrong var
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user