mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-10-31 21:47:10 +00:00
God fucking dammit
This commit is contained in:
parent
a420339017
commit
75cd1864f6
@ -231,25 +231,19 @@ public class Command_myadmin extends FreedomCommand
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (args.length == 3)
|
||||
else if (args.length == 3 && args[0].equalsIgnoreCase("-o"))
|
||||
{
|
||||
if (args[0].equalsIgnoreCase("-o"))
|
||||
{
|
||||
List<String> options = new ArrayList<>();
|
||||
options.addAll(singleArguments);
|
||||
options.addAll(doubleArguments);
|
||||
return options;
|
||||
}
|
||||
List<String> options = new ArrayList<>();
|
||||
options.addAll(singleArguments);
|
||||
options.addAll(doubleArguments);
|
||||
return options;
|
||||
}
|
||||
else if (args.length == 4)
|
||||
else if (args.length == 4 && args[0].equalsIgnoreCase("-o") && args[2].equalsIgnoreCase("clearip"))
|
||||
{
|
||||
if (args[0].equalsIgnoreCase("-o") && args[2].equalsIgnoreCase("clearip"))
|
||||
Admin admin = plugin.al.getEntryByName(args[1]);
|
||||
if (admin != null)
|
||||
{
|
||||
Admin admin = plugin.al.getEntryByName(args[1]);
|
||||
if (admin != null)
|
||||
{
|
||||
return admin.getIps();
|
||||
}
|
||||
return admin.getIps();
|
||||
}
|
||||
}
|
||||
return FUtil.getPlayerList();
|
||||
|
Loading…
Reference in New Issue
Block a user