mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-11-04 11:15:21 +00:00
Fix smokescreen ignoring cooldowns
This commit is contained in:
parent
ad285c57f7
commit
857bf0c050
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ public class Smokescreen extends ChiAbility {
|
|||
|
||||
public Smokescreen(Player player) {
|
||||
super(player);
|
||||
if (!bPlayer.canBend(this)) {
|
||||
return;
|
||||
}
|
||||
this.cooldown = getConfig().getLong("Abilities.Chi.Smokescreen.Cooldown");
|
||||
this.duration = getConfig().getInt("Abilities.Chi.Smokescreen.Duration");
|
||||
this.radius = getConfig().getDouble("Abilities.Chi.Smokescreen.Radius");
|
||||
|
|
Loading…
Reference in a new issue