diff --git a/Dev Builds/Korra.jar b/Dev Builds/Korra.jar index 2b46847d..2a8b4754 100644 Binary files a/Dev Builds/Korra.jar and b/Dev Builds/Korra.jar differ diff --git a/src/com/projectkorra/ProjectKorra/Methods.java b/src/com/projectkorra/ProjectKorra/Methods.java index d44c2168..fe1a83fb 100644 --- a/src/com/projectkorra/ProjectKorra/Methods.java +++ b/src/com/projectkorra/ProjectKorra/Methods.java @@ -462,6 +462,7 @@ public class Methods { public static boolean canBendPassive(String player, Element element) { BendingPlayer bPlayer = getBendingPlayer(player); Player p = Bukkit.getPlayer(player); + if (!p.hasPermission("bending." + element.toString().toLowerCase() + ".passive")) return false; if (!bPlayer.isToggled) return false; if (!bPlayer.hasElement(element)) return false; if (isRegionProtectedFromBuild(p, null, p.getLocation())) return false; diff --git a/src/plugin.yml b/src/plugin.yml index 4d78d27c..c8cfe0c7 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: ProjectKorra author: ProjectKorra -version: 1.1.0 +version: 1.2.0 BETA 1 main: com.projectkorra.ProjectKorra.ProjectKorra commands: projectkorra: @@ -50,6 +50,7 @@ permissions: bending.ability.AirSuction: true bending.ability.AirSwipe: true bending.ability.Tornado: true + bending.air.passive: true bending.water: default: true description: Grants access to most waterbending abilities. @@ -66,6 +67,7 @@ permissions: bending.ability.WaterSpout: true bending.ability.Plantbending: true bending.message.nightmessage: true + bending.water.passive: true bending.earth: default: true description: Grants access to all Earthbending abilities. @@ -79,6 +81,7 @@ permissions: bending.ability.RaiseEarth: true bending.ability.Shockwave: true bending.ability.Tremorsense: true + bending.earth.passive: true bending.fire: default: true description: Grants access to all firebending abilities. @@ -93,10 +96,12 @@ permissions: bending.ability.Lightning: true bending.ability.WallOfFire: true bending.message.daymessage: true + bending.fire.passive: true bending.chi: default: true description: Grants access to all ChiBlocking abilities. children: bending.ability.HighJump: true bending.ability.Paralyze: true - bending.ability.RapidPunch: true \ No newline at end of file + bending.ability.RapidPunch: true + bending.chi.passive: true \ No newline at end of file