1.8.0 for Minecraft v1.10 (#586)

This commit is contained in:
Sobki 2016-09-29 11:06:43 +10:00 committed by Christopher Martin
parent e56a53a008
commit 9c86078069
3 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ public class ChooseCommand extends PKCommand {
else if (element.equalsIgnoreCase("w")) element = "water";
else if (element.equalsIgnoreCase("c")) element = "chi";
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);
return;
} else {

View file

@ -24,7 +24,7 @@ public class VersionCommand extends PKCommand {
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()) {
sender.sendMessage(ChatColor.GREEN + "RPG Version: " + ChatColor.RED + GeneralMethods.getRPG().getDescription().getVersion());
}