mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
Lunar/Solar Eclipse cancels ALL Water/Firebending
This commit is contained in:
parent
1c38661cc0
commit
0da418addc
1 changed files with 2 additions and 0 deletions
|
@ -301,6 +301,8 @@ public class Methods {
|
|||
if (isRegionProtectedFromBuild(p, ability, p.getLocation())) return false;
|
||||
if (Paralyze.isParalyzed(p) || Bloodbending.isBloodbended(p)) return false;
|
||||
if (MetalClips.isControlled(p)) return false;
|
||||
if (BendingManager.events.get(p.getWorld()).equalsIgnoreCase("SolarEclipse") && isFireAbility(ability)) return false;
|
||||
if (BendingManager.events.get(p.getWorld()).equalsIgnoreCase("LunarEclipse") && isWaterAbility(ability)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue