mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Removed unnecessary kicked error enum
This commit is contained in:
parent
c1c995ec39
commit
b64f3fa8a9
@ -17,7 +17,6 @@ pub enum Error {
|
||||
AuthClientError(AuthClientError),
|
||||
AuthServerNotTrusted,
|
||||
Banned(String),
|
||||
Kicked(String),
|
||||
/// Persisted character data is invalid or missing
|
||||
InvalidCharacter,
|
||||
//TODO: InvalidAlias,
|
||||
|
@ -132,13 +132,6 @@ impl PlayState for MainMenuState {
|
||||
reason
|
||||
)
|
||||
},
|
||||
client::Error::Kicked(reason) => {
|
||||
format!(
|
||||
"{}: {}",
|
||||
localized_strings.get("main.login.kicked"),
|
||||
reason
|
||||
)
|
||||
}
|
||||
client::Error::InvalidCharacter => {
|
||||
localized_strings.get("main.login.invalid_character").into()
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user