Add message to unignore when no parameters are given
This commit is contained in:
parent
5a516e4c78
commit
f41473da8f
@ -19,7 +19,7 @@ public class Unignore extends CommandBase<IgnoreManager>
|
|||||||
public void Execute(final Player caller, final String[] args)
|
public void Execute(final Player caller, final String[] args)
|
||||||
{
|
{
|
||||||
if (args == null)
|
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
|
else
|
||||||
{
|
{
|
||||||
CommandCenter.GetClientManager().checkPlayerName(caller, args[0], new Callback<String>()
|
CommandCenter.GetClientManager().checkPlayerName(caller, args[0], new Callback<String>()
|
||||||
|
Loading…
Reference in New Issue
Block a user