mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 12:49:32 +00:00
Fix smokescreen ignoring cooldowns
This commit is contained in:
parent
ad285c57f7
commit
857bf0c050
|
@ -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