Do not send error if player do not exist while unregister
This commit is contained in:
parent
9f806667c5
commit
9704abc386
@ -492,6 +492,10 @@ public class AdminCommand implements CommandExecutor {
|
||||
return true;
|
||||
}
|
||||
String name = args[1].toLowerCase();
|
||||
if (!database.isAuthAvailable(name)) {
|
||||
m._(sender, "user_unknown");
|
||||
return true;
|
||||
}
|
||||
if (!database.removeAuth(name)) {
|
||||
m._(sender, "error");
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user