mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-22 16:05:01 +00:00
Add cooldown to Bloodbending when hit max holdTime (#703)
This commit is contained in:
parent
eca81a576b
commit
0684c7b469
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ public class Bloodbending extends BloodAbility {
|
|||
return;
|
||||
} else if (holdTime > 0 && System.currentTimeMillis() - this.time > holdTime) {
|
||||
remove();
|
||||
bPlayer.addCooldown(this);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue