authme.admin.forcelogin and authme.canbeforced

This commit is contained in:
Xephi59 2015-07-05 03:38:30 +02:00
parent a44481c33b
commit 618a5efe87

View File

@ -554,10 +554,6 @@ public class AdminCommand implements CommandExecutor {
sender.sendMessage("[AuthMe] Successfully reset position for " + auth.getNickname());
return true;
} else if (args[0].equalsIgnoreCase("forcelogin")) {
if (!(sender instanceof ConsoleCommandSender)) {
sender.sendMessage("This command can only be performed by console");
return true;
}
if (args.length < 2) {
sender.sendMessage("Usage : /authme forcelogin <playerName>");
return true;