Revert "Added tab completion"

This reverts commit fe327fbd76.

# Conflicts:
#	src/main/java/net/minecraftforge/server/command/ForgeCommand.java
This commit is contained in:
cpw 2016-06-22 23:35:13 -04:00
parent 9c003fcb15
commit 1a97d74939

View file

@ -65,31 +65,6 @@ public class ForgeCommand extends CommandBase {
} }
} }
@Override
public List<String> getTabCompletionOptions(MinecraftServer server, ICommandSender sender, String[] args, BlockPos pos)
{
if (args.length == 1)
{
return getListOfStringsMatchingLastWord(args, "tps", "track");
}
else if (args.length == 2)
{
if ("tps".equals(args[0])) {
ArrayList list = new ArrayList();
for (Integer l : server.worldTickTimes.keySet())
{
list.add(l.toString());
}
return list;
}
else if ("track".equals(args[0]))
{
return getListOfStringsMatchingLastWord(args, "te");
}
}
return null;
}
private void handleTracking(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException private void handleTracking(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException
{ {
if (args.length != 3) if (args.length != 3)