mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
AirShield blocks WaterManip + EarthBlast
This commit is contained in:
parent
f0f9ff9082
commit
cc5bea92db
1 changed files with 5 additions and 0 deletions
|
@ -12,8 +12,11 @@ import org.bukkit.util.Vector;
|
|||
import com.projectkorra.ProjectKorra.Methods;
|
||||
import com.projectkorra.ProjectKorra.ProjectKorra;
|
||||
import com.projectkorra.ProjectKorra.Ability.AvatarState;
|
||||
import com.projectkorra.ProjectKorra.earthbending.EarthBlast;
|
||||
import com.projectkorra.ProjectKorra.firebending.Combustion;
|
||||
import com.projectkorra.ProjectKorra.firebending.FireBlast;
|
||||
import com.projectkorra.ProjectKorra.waterbending.TorrentBurst;
|
||||
import com.projectkorra.ProjectKorra.waterbending.WaterManipulation;
|
||||
|
||||
public class AirShield {
|
||||
|
||||
|
@ -53,6 +56,8 @@ public class AirShield {
|
|||
|
||||
FireBlast.removeFireBlastsAroundPoint(origin, radius);
|
||||
Combustion.removeAroundPoint(origin, radius);
|
||||
WaterManipulation.removeAroundPoint(origin, radius);
|
||||
EarthBlast.removeAroundPoint(origin, radius);
|
||||
|
||||
for (Entity entity : Methods.getEntitiesAroundPoint(origin, radius)) {
|
||||
if (Methods.isRegionProtectedFromBuild(player, "AirShield",
|
||||
|
|
Loading…
Reference in a new issue