Add message to unignore when no parameters are given

This commit is contained in:
libraryaddict 2015-02-11 23:11:21 +13:00
parent 5a516e4c78
commit f41473da8f

View File

@ -19,7 +19,7 @@ public class Unignore extends CommandBase<IgnoreManager>
public void Execute(final Player caller, final String[] args)
{
if (args == null)
F.main(Plugin.getName(), "You need to include a player's name.");
caller.sendMessage(F.main(Plugin.getName(), "You need to include a player's name."));
else
{
CommandCenter.GetClientManager().checkPlayerName(caller, args[0], new Callback<String>()