mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-08-16 08:26:29 +00:00
Fix Bloodbending
This commit is contained in:
parent
cb4003993f
commit
1e24828e73
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue