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