force join command
This commit is contained in:
parent
9ff9724fc8
commit
8dca384d35
@ -111,12 +111,12 @@ public class ClansCommand extends CommandBase<ClansManager>
|
||||
|
||||
else if (args[0].equalsIgnoreCase("territory") || args[0].equalsIgnoreCase("t"))
|
||||
infoTerritory(caller, args);
|
||||
|
||||
else if (args[0].equalsIgnoreCase("forcejoin"))
|
||||
if (args.length == 2)
|
||||
forceJoinClan(caller, args[1]);
|
||||
else if (args[0].equalsIgnoreCase("who") || args[0].equalsIgnoreCase("w"))
|
||||
{
|
||||
if (args.length > 2 && args[2].equals("join"))
|
||||
forceJoinClan(caller, args[1]);
|
||||
else if (args.length == 2)
|
||||
if (args.length == 2)
|
||||
infoClan(caller, args[1]);
|
||||
else
|
||||
infoClan(caller, null);
|
||||
|
Loading…
Reference in New Issue
Block a user