mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-08-17 08:57:40 +00:00
Add remove call to QuickStrike
This commit is contained in:
parent
d8936f8ba8
commit
1836888070
|
@ -21,6 +21,9 @@ public class QuickStrike extends ChiAbility {
|
|||
this.damage = getConfig().getInt("Abilities.Chi.QuickStrike.Damage");
|
||||
this.blockChance = getConfig().getInt("Abilities.Chi.QuickStrike.ChiBlockChance");
|
||||
target = GeneralMethods.getTargetedEntity(player, 2);
|
||||
if (target == null) {
|
||||
return;
|
||||
}
|
||||
start();
|
||||
}
|
||||
|
||||
|
@ -28,6 +31,7 @@ public class QuickStrike extends ChiAbility {
|
|||
@Override
|
||||
public void progress() {
|
||||
if (target == null) {
|
||||
remove();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue