Fix unwrap-related crash
This commit is contained in:
parent
c9572ab402
commit
48b6791d67
@ -197,7 +197,7 @@ impl Bot {
|
||||
.client
|
||||
.player_list()
|
||||
.get(uid)
|
||||
.unwrap()
|
||||
.ok_or(format!("Failed to find player with uid {uid}."))?
|
||||
.player_alias
|
||||
.clone();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user