diff --git a/src/com/projectkorra/projectkorra/command/BendingTabComplete.java b/src/com/projectkorra/projectkorra/command/BendingTabComplete.java index bf7d2bd4..cfcbaf42 100644 --- a/src/com/projectkorra/projectkorra/command/BendingTabComplete.java +++ b/src/com/projectkorra/projectkorra/command/BendingTabComplete.java @@ -198,7 +198,7 @@ public class BendingTabComplete implements TabCompleter { return getPossibleCompletionsForGivenArgs(args, l); } else if (args[0].equalsIgnoreCase("copy") || args[0].equalsIgnoreCase("co")) { //If they can't use the command, have over 3 args (copy ), or if have over 2 args and can't assign to other players - if (!sender.hasPermission("bending.command.copy") || args.length > 3 || (args.length > 2 && !sender.hasPermission("bending.command.copy.assign"))) + if (!sender.hasPermission("bending.command.copy") || args.length > 4 || (args.length > 3 && !sender.hasPermission("bending.command.copy.assign"))) return new ArrayList(); //Return nothing List l = new ArrayList(); for (Player p : Bukkit.getOnlinePlayers()) { diff --git a/src/com/projectkorra/projectkorra/command/PresetCommand.java b/src/com/projectkorra/projectkorra/command/PresetCommand.java index 763d9d0d..7df9a229 100644 --- a/src/com/projectkorra/projectkorra/command/PresetCommand.java +++ b/src/com/projectkorra/projectkorra/command/PresetCommand.java @@ -127,7 +127,7 @@ public class PresetCommand extends PKCommand { sender.sendMessage(ChatColor.GREEN + "The bound slots of " + ChatColor.YELLOW + player2.getName() + ChatColor.GREEN + " have been set to match the " + ChatColor.YELLOW + name + ChatColor.GREEN + " preset."); player2.sendMessage(ChatColor.GREEN + "Your bound slots have been set to match the " + ChatColor.YELLOW + name + ChatColor.GREEN + " preset."); if (!boundAll) { - player2.sendMessage(ChatColor.RED + "Some abilities were not bound, either the preset"); + player2.sendMessage(ChatColor.RED + "Some abilities were not bound, either the preset contains invalid abilities or you cannot bend the required elements."); } return; } else { @@ -157,7 +157,7 @@ public class PresetCommand extends PKCommand { sender.sendMessage(ChatColor.GREEN + "The bound slots of " + ChatColor.YELLOW + player2.getName() + ChatColor.GREEN + " have been set to match your " + ChatColor.YELLOW + name + ChatColor.GREEN + " preset."); player2.sendMessage(ChatColor.GREEN + "Your bound slots have been set to match " + ChatColor.YELLOW + player.getName() + "'s " + name + ChatColor.GREEN + " preset."); if (!boundAll) { - player2.sendMessage(ChatColor.RED + "Some abilities were not bound, either the preset"); + player2.sendMessage(ChatColor.RED + "Some abilities were not bound, either the preset contains invalid abilities or you cannot bend the required elements."); } return; } else {