mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Possible HeatControl fix
This commit is contained in:
parent
376fc8a2c4
commit
cf93334386
1 changed files with 6 additions and 3 deletions
|
@ -16,6 +16,7 @@ import com.projectkorra.ProjectKorra.Flight;
|
||||||
import com.projectkorra.ProjectKorra.Methods;
|
import com.projectkorra.ProjectKorra.Methods;
|
||||||
import com.projectkorra.ProjectKorra.ProjectKorra;
|
import com.projectkorra.ProjectKorra.ProjectKorra;
|
||||||
import com.projectkorra.ProjectKorra.Ability.AvatarState;
|
import com.projectkorra.ProjectKorra.Ability.AvatarState;
|
||||||
|
import com.projectkorra.ProjectKorra.Utilities.ParticleEffect;
|
||||||
|
|
||||||
public class AirBlast {
|
public class AirBlast {
|
||||||
|
|
||||||
|
@ -223,7 +224,8 @@ public class AirBlast {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void advanceLocation() {
|
private void advanceLocation() {
|
||||||
location.getWorld().playEffect(location, Effect.SMOKE, 4, (int) range);
|
ParticleEffect.SPELL.display(location, (float)0, (float)0, (float)0, (float)speed, (int)20);
|
||||||
|
// location.getWorld().playEffect(location, Effect.SMOKE, 4, (int) range);
|
||||||
location = location.add(direction.clone().multiply(speedfactor));
|
location = location.add(direction.clone().multiply(speedfactor));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -327,8 +329,9 @@ public class AirBlast {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
origin.getWorld().playEffect(origin, Effect.SMOKE, 4,
|
ParticleEffect.SPELL.display(origin, (float) 0, (float) 0, 0F, (float) speed, 20);
|
||||||
(int) originselectrange);
|
// origin.getWorld().playEffect(origin, Effect.SMOKE, 4,
|
||||||
|
// (int) originselectrange);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void removeAll() {
|
public static void removeAll() {
|
||||||
|
|
Loading…
Reference in a new issue