From 9086ea2c01fb6b9acc12792a09e92603066e49db Mon Sep 17 00:00:00 2001 From: StrangeOne101 Date: Thu, 9 Jun 2016 12:06:47 +1200 Subject: [PATCH] Small FireBlast Fix --- .../projectkorra/firebending/FireBlast.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/com/projectkorra/projectkorra/firebending/FireBlast.java b/src/com/projectkorra/projectkorra/firebending/FireBlast.java index c65f62ce..8b8e8bcb 100644 --- a/src/com/projectkorra/projectkorra/firebending/FireBlast.java +++ b/src/com/projectkorra/projectkorra/firebending/FireBlast.java @@ -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++;