mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
Fix distance location bug in AirCombo
This commit is contained in:
parent
4e604128db
commit
b16a7cbb5e
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ public class AirCombo {
|
|||
&& combo.ability.equalsIgnoreCase("AirSweep")) {
|
||||
for (int j = 0; j < combo.tasks.size(); j++) {
|
||||
FireComboStream fs = (FireComboStream) combo.tasks.get(j);
|
||||
if (fs.getLocation() != null
|
||||
if (fs.getLocation() != null && fs.getLocation().getWorld().equals(loc.getWorld())
|
||||
&& Math.abs(fs.getLocation().distance(loc)) <= radius) {
|
||||
fs.remove();
|
||||
removed = true;
|
||||
|
|
Loading…
Reference in a new issue