mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Update warning message
This commit is contained in:
parent
1719ce8c16
commit
9b407b8aef
@ -516,7 +516,11 @@ pub fn edit_character(
|
||||
(body, char.body)
|
||||
{
|
||||
if new.species != old.species || new.body_type != old.body_type {
|
||||
warn!("Should never happen due to client validation");
|
||||
warn!(
|
||||
"Character edit rejected due to failed validation - Character ID: {} \
|
||||
Alias: {}",
|
||||
character_id, character_alias
|
||||
);
|
||||
return Err(PersistenceError::CharacterDataError);
|
||||
} else {
|
||||
char.body = body;
|
||||
|
Loading…
Reference in New Issue
Block a user