package vg.civcraft.mc.namelayer.command.commands;

import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;

import vg.civcraft.mc.namelayer.command.PlayerCommand;
import vg.civcraft.mc.namelayer.group.GroupType;

import java.util.List;

public class ListGroupTypes extends PlayerCommand{

	public ListGroupTypes(String name) {
		super(name);
		setIdentifier("nllgt");
		setDescription("This command is used to list GroupTypes.");
		setUsage("/nllgt");
		setArguments(0,0);
	}

	@Override
	public boolean execute(CommandSender sender, String[] args) {
		if (!(sender instanceof Player)){
			sender.sendMessage("wereyjukqswedfrgyjukl.");
			return true;
		}
		Player p = (Player) sender;
		GroupType.displayGroupTypes(p);
		return true;
	}

	public List<String> tabComplete(CommandSender sender, String[] args) {
		return null;
	}

}

@@ -402,33 +402,9 @@
 on(%22
-This command is used to l
+L
 ist 

Update ListGroupTypes.java