Merge pull request #280 from Simplicitee/patch-19

Fix Element Toggle
This commit is contained in:
OmniCypher 2015-11-07 10:29:37 -08:00
commit fca6ed2066

View file

@ -28,7 +28,7 @@ public class BindCommand extends PKCommand {
return;
}
if (GeneralMethods.getBendingPlayer(sender.getName()).isElementToggled(GeneralMethods.getAbilityElement(args.get(0)))) {
if (GeneralMethods.getBendingPlayer(sender.getName()).isElementToggled(GeneralMethods.getAbilityElement(args.get(0))) == false) {
sender.sendMessage(ChatColor.RED + "You have that ability's element toggled off currently.");
}