Fix Bloodbending

This commit is contained in:
jedk1 2016-02-17 20:20:10 +00:00
parent cb4003993f
commit 1e24828e73

View file

@ -175,12 +175,15 @@ public class Bloodbending extends BloodAbility {
}
if (onlyUsableDuringMoon && !isFullMoon(player.getWorld()) && !bPlayer.canBloodbendAtAnytime()) {
TARGETED_ENTITIES.remove(target);
remove();
return;
} else if (canOnlyBeUsedAtNight && !isNight(player.getWorld()) && !bPlayer.canBloodbendAtAnytime()) {
TARGETED_ENTITIES.remove(target);
remove();
return;
} else if (!bPlayer.canBendIgnoreCooldowns(this)) {
TARGETED_ENTITIES.remove(target);
remove();
return;
}