Fix Element Toggle

- Fixes element toggle caused error
This commit is contained in:
Simplicitee 2015-11-07 02:57:57 -05:00
parent 7c1290378b
commit d7fcd07d89

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.");
}