mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 04:39:32 +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()) {
|
if (onlyUsableDuringMoon && !isFullMoon(player.getWorld()) && !bPlayer.canBloodbendAtAnytime()) {
|
||||||
|
TARGETED_ENTITIES.remove(target);
|
||||||
remove();
|
remove();
|
||||||
return;
|
return;
|
||||||
} else if (canOnlyBeUsedAtNight && !isNight(player.getWorld()) && !bPlayer.canBloodbendAtAnytime()) {
|
} else if (canOnlyBeUsedAtNight && !isNight(player.getWorld()) && !bPlayer.canBloodbendAtAnytime()) {
|
||||||
|
TARGETED_ENTITIES.remove(target);
|
||||||
remove();
|
remove();
|
||||||
return;
|
return;
|
||||||
} else if (!bPlayer.canBendIgnoreCooldowns(this)) {
|
} else if (!bPlayer.canBendIgnoreCooldowns(this)) {
|
||||||
|
TARGETED_ENTITIES.remove(target);
|
||||||
remove();
|
remove();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue