mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
1.8.0 for Minecraft v1.10 (#586)
This commit is contained in:
parent
e56a53a008
commit
9c86078069
3 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -99,7 +99,7 @@ public class ChooseCommand extends PKCommand {
|
||||||
else if (element.equalsIgnoreCase("w")) element = "water";
|
else if (element.equalsIgnoreCase("w")) element = "water";
|
||||||
else if (element.equalsIgnoreCase("c")) element = "chi";
|
else if (element.equalsIgnoreCase("c")) element = "chi";
|
||||||
Element targetElement = Element.getElement(element);
|
Element targetElement = Element.getElement(element);
|
||||||
if (Arrays.asList(Element.getAllElements()).contains(targetElement)) {
|
if (Arrays.asList(Element.getAllElements()).contains(targetElement) && targetElement != Element.AVATAR) {
|
||||||
add(sender, target, targetElement);
|
add(sender, target, targetElement);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -24,7 +24,7 @@ public class VersionCommand extends PKCommand {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sender.sendMessage(ChatColor.GREEN + "Core Version: " + ChatColor.RED + ProjectKorra.plugin.getDescription().getVersion() + " (MC 1.9)");
|
sender.sendMessage(ChatColor.GREEN + "Core Version: " + ChatColor.RED + ProjectKorra.plugin.getDescription().getVersion() + " (MC 1.10)");
|
||||||
if (GeneralMethods.hasRPG()) {
|
if (GeneralMethods.hasRPG()) {
|
||||||
sender.sendMessage(ChatColor.GREEN + "RPG Version: " + ChatColor.RED + GeneralMethods.getRPG().getDescription().getVersion());
|
sender.sendMessage(ChatColor.GREEN + "RPG Version: " + ChatColor.RED + GeneralMethods.getRPG().getDescription().getVersion());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue