mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +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;
|
return;
|
||||||
} else if (holdTime > 0 && System.currentTimeMillis() - this.time > holdTime) {
|
} else if (holdTime > 0 && System.currentTimeMillis() - this.time > holdTime) {
|
||||||
remove();
|
remove();
|
||||||
|
bPlayer.addCooldown(this);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue