/b display wont show abilities player cant use

This commit is contained in:
MistPhizzle 2014-06-30 20:45:50 -04:00
parent 86bfae12ca
commit 86707725b8

View file

@ -215,8 +215,10 @@ public class Commands {
return true;
}
for (String st: AbilityModuleManager.airbendingabilities) {
if (Methods.canBend(s.getName(), st)) {
s.sendMessage(Methods.getAirColor() + st);
}
}
return true;
}
if (Arrays.asList(wateraliases).contains(args[1].toLowerCase())) {
@ -225,8 +227,10 @@ public class Commands {
return true;
}
for (String st: AbilityModuleManager.waterbendingabilities) {
if (Methods.canBend(s.getName(), st)) {
s.sendMessage(Methods.getWaterColor() + st);
}
}
return true;
}
if (Arrays.asList(earthaliases).contains(args[1].toLowerCase())) {
@ -235,8 +239,10 @@ public class Commands {
return true;
}
for (String st: AbilityModuleManager.earthbendingabilities) {
if (Methods.canBend(s.getName(), st)) {
s.sendMessage(Methods.getEarthColor() + st);
}
}
return true;
}
if (Arrays.asList(firealiases).contains(args[1].toLowerCase())) {
@ -245,8 +251,10 @@ public class Commands {
return true;
}
for (String st: AbilityModuleManager.firebendingabilities) {
if (Methods.canBend(s.getName(), st)) {
s.sendMessage(Methods.getFireColor() + st);
}
}
return true;
}
if (Arrays.asList(chialiases).contains(args[1].toLowerCase())) {
@ -256,8 +264,10 @@ public class Commands {
}
for (String st: AbilityModuleManager.chiabilities) {
if (Methods.canBend(s.getName(), st)) {
s.sendMessage(Methods.getChiColor() + st);
}
}
return true;
}
}