Forced the password parameter for login command

This commit is contained in:
Tim Visée
2015-11-01 19:19:50 +01:00
parent bade9d5d5e
commit 7700799e82
2 changed files with 1 additions and 7 deletions
@@ -34,12 +34,6 @@ public class LoginCommand extends ExecutableCommand {
// Get the player instance
final Player player = (Player) sender;
// Make sure the password is set
if(commandArguments.getCount() == 0) {
m.send(player, "usage_log");
return true;
}
// Get the password
String playerPass = commandArguments.get(0);