fixed task 2

This commit is contained in:
NewGarbo 2015-11-29 02:48:03 +00:00
parent 392ab601c2
commit 84303234fd

View File

@ -116,7 +116,7 @@ public class ClansCommand extends CommandBase<ClansManager>
forceJoinClan(caller, args[1]); forceJoinClan(caller, args[1]);
else if (args[0].equalsIgnoreCase("who") || args[0].equalsIgnoreCase("w")) else if (args[0].equalsIgnoreCase("who") || args[0].equalsIgnoreCase("w"))
{ {
if (args.length == 2) if (args.length > 1)
infoClan(caller, args[1]); infoClan(caller, args[1]);
else else
infoClan(caller, null); infoClan(caller, null);