Bugfix - unregistering didn't de-authenticate player.
This commit is contained in:
parent
2430d220d1
commit
c4ca8ca18f
|
@ -46,6 +46,7 @@ public class UnregisterCommand {
|
|||
return 0;
|
||||
}
|
||||
else if (AuthHelper.checkPass(player.getUuidAsString(), pass.toCharArray())) {
|
||||
SimpleAuth.deauthenticatePlayer(player);
|
||||
SimpleAuth.db.delete(player.getUuidAsString(), null);
|
||||
player.sendMessage(accountDeleted);
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue