mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
/bending who changes
Will tell you if a member is a part of the ProjectKorra team. Added sub element display for Waterbending
This commit is contained in:
parent
a3fbf6ccd1
commit
fc1032af51
2 changed files with 26 additions and 0 deletions
|
@ -524,6 +524,12 @@ public class Commands {
|
||||||
}
|
}
|
||||||
if (Methods.isBender(un, Element.Water)) {
|
if (Methods.isBender(un, Element.Water)) {
|
||||||
s.sendMessage(Methods.getWaterColor() + "- Waterbender");
|
s.sendMessage(Methods.getWaterColor() + "- Waterbender");
|
||||||
|
if (Methods.canPlantbend(p)) {
|
||||||
|
s.sendMessage(Methods.getWaterColor() + " Can Plantbend");
|
||||||
|
}
|
||||||
|
if (Methods.canBloodbend(p)) {
|
||||||
|
s.sendMessage(Methods.getWaterColor() + " Can Bloodbend");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (Methods.isBender(un, Element.Earth)) {
|
if (Methods.isBender(un, Element.Earth)) {
|
||||||
if (Methods.canMetalbend(p)) {
|
if (Methods.canMetalbend(p)) {
|
||||||
|
@ -547,6 +553,21 @@ public class Commands {
|
||||||
if (ability == null) return true;
|
if (ability == null) return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (p.getName().equalsIgnoreCase("MistPhizzle") ||
|
||||||
|
p.getName().equalsIgnoreCase("runefist")
|
||||||
|
|| p.getName().equalsIgnoreCase("Jacklin213")
|
||||||
|
|| p.getName().equalsIgnoreCase("kingbirdy")
|
||||||
|
|| p.getName().equalsIgnoreCase("cpdances")
|
||||||
|
|| p.getName().equalsIgnoreCase("sampepere")) {
|
||||||
|
s.sendMessage(ChatColor.YELLOW + "ProjectKorra Developer");
|
||||||
|
}
|
||||||
|
if (p.getName().equalsIgnoreCase("vidcom")
|
||||||
|
|| p.getName().equalsIgnoreCase("Zolteex")
|
||||||
|
|| p.getName().equalsIgnoreCase("zmeduna")
|
||||||
|
|| p.getName().equalsIgnoreCase("ashe36")) {
|
||||||
|
s.sendMessage(ChatColor.YELLOW + "ProjectKorra Concept Designer");
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (args.length == 1) {
|
if (args.length == 1) {
|
||||||
|
|
|
@ -1586,6 +1586,11 @@ public class Methods {
|
||||||
return circleblocks;
|
return circleblocks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static boolean canBloodbend(Player player) {
|
||||||
|
if (player.hasPermission("bending.ability.bloodbending")) return true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public static void reloadPlugin() {
|
public static void reloadPlugin() {
|
||||||
for (Player player: Bukkit.getOnlinePlayers()) {
|
for (Player player: Bukkit.getOnlinePlayers()) {
|
||||||
Methods.saveBendingPlayer(player.getName());
|
Methods.saveBendingPlayer(player.getName());
|
||||||
|
|
Loading…
Reference in a new issue