Remove redundant and unused message

- Remove 'reg_voluntarily'
- Remove 'user_unknown' in favor of 'unknown_user' - but move text from old 'user_unknown' to 'unknown_user'

Found by @Twonox
This commit is contained in:
ljacqu
2017-01-09 21:16:53 +01:00
parent a5e1bbb37a
commit cc0d16c7e1
34 changed files with 50 additions and 111 deletions
@@ -56,7 +56,7 @@ public class AccountsCommand implements ExecutableCommand {
List<String> accountList = dataSource.getAllAuthsByIp(auth.getIp());
if (accountList.isEmpty()) {
commonService.send(sender, MessageKey.USER_NOT_REGISTERED);
commonService.send(sender, MessageKey.UNKNOWN_USER);
} else if (accountList.size() == 1) {
sender.sendMessage("[AuthMe] " + playerName + " is a single account player");
} else {
@@ -29,7 +29,7 @@ public class LastLoginCommand implements ExecutableCommand {
PlayerAuth auth = dataSource.getAuth(playerName);
if (auth == null) {
commonService.send(sender, MessageKey.USER_NOT_REGISTERED);
commonService.send(sender, MessageKey.UNKNOWN_USER);
return;
}