mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-22 16:05:01 +00:00
Small FireBlast Fix
This commit is contained in:
parent
b80082c6ff
commit
9086ea2c01
1 changed files with 1 additions and 10 deletions
|
@ -3,7 +3,6 @@ package com.projectkorra.projectkorra.firebending;
|
|||
import com.projectkorra.projectkorra.GeneralMethods;
|
||||
import com.projectkorra.projectkorra.ProjectKorra;
|
||||
import com.projectkorra.projectkorra.ability.AirAbility;
|
||||
import com.projectkorra.projectkorra.ability.CoreAbility;
|
||||
import com.projectkorra.projectkorra.ability.FireAbility;
|
||||
import com.projectkorra.projectkorra.ability.WaterAbility;
|
||||
import com.projectkorra.projectkorra.avatar.AvatarState;
|
||||
|
@ -159,20 +158,12 @@ public class FireBlast extends FireAbility {
|
|||
|
||||
@Override
|
||||
public void progress() {
|
||||
if (!bPlayer.canBendIgnoreBindsCooldowns(this)
|
||||
if (!bPlayer.canBendIgnoreCooldowns(this)
|
||||
|| GeneralMethods.isRegionProtectedFromBuild(this, location)) {
|
||||
remove();
|
||||
return;
|
||||
}
|
||||
|
||||
if (isFireBurst && !bPlayer.canBend(CoreAbility.getAbility("FireBurst"))) {
|
||||
remove();
|
||||
return;
|
||||
} else if (!isFireBurst && !bPlayer.canBend(CoreAbility.getAbility("FireBlast"))) {
|
||||
remove();
|
||||
return;
|
||||
}
|
||||
|
||||
speedFactor = speed * (ProjectKorra.time_step / 1000.0);
|
||||
ticks++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue